From: Dmitri Goutnik <5332688+dmgk@users.noreply.github.com> Date: Tue, 26 Dec 2017 18:23:20 +0000 (-0500) Subject: Lookup xdg-open in PATH on non-Apple platforms (#70) X-Git-Tag: v1.7~62 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4dca8d7cf95a03ef82e4c25a87a8b609b57e7fc9;p=nnn.git Lookup xdg-open in PATH on non-Apple platforms (#70) --- diff --git a/nnn.c b/nnn.c index 42c402ee..d874d35a 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"