aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dmitri Goutnik <5332688+dmgk@users.noreply.github.com>2017-12-26 13:23:20 -0500
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-26 23:53:20 +0530
commit4dca8d7cf95a03ef82e4c25a87a8b609b57e7fc9 (patch)
tree0fc9c53faa3a6ebe1bc854570b6949a944ddae86
parent0f27c2f01c62d2b50514390e5fc0c633b116e28b (diff)
downloadnnn-4dca8d7cf95a03ef82e4c25a87a8b609b57e7fc9.tar.gz
Lookup xdg-open in PATH on non-Apple platforms (#70)
-rw-r--r--nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nnn.c b/nnn.c
index 42c402e..d874d35 100644
--- a/nnn.c
+++ b/nnn.c
@@ -260,7 +260,7 @@ static char * const utils[] = {
#ifdef __APPLE__
"/usr/bin/open",
#else
- "/usr/bin/xdg-open",
+ "xdg-open",
#endif
"nlay",
"atool"