]> Sergey Matveev's repositories - nnn.git/commitdiff
Lookup xdg-open in PATH on non-Apple platforms (#70)
authorDmitri Goutnik <5332688+dmgk@users.noreply.github.com>
Tue, 26 Dec 2017 18:23:20 +0000 (13:23 -0500)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 26 Dec 2017 18:23:20 +0000 (23:53 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 42c402eed62add9d3a2b6c80eeb6e8acb825d820..d874d35ae0dd5f89c3247aa58d009d375dc88e4d 100644 (file)
--- 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"