]> Sergey Matveev's repositories - nnn.git/commitdiff
use $PWD
authorNRK <nrk@disroot.org>
Mon, 1 Nov 2021 08:13:21 +0000 (14:13 +0600)
committerNRK <nrk@disroot.org>
Mon, 1 Nov 2021 08:13:21 +0000 (14:13 +0600)
plugins/fzopen

index 013413fb8b6d4ab09e1853d9b0fae567187a9b2f..c44122a083a6cbbdba1b41a9ba984c7a44e6b4af 100755 (executable)
@@ -42,7 +42,7 @@ fi
 if [ "$3" ]; then
     if [ "$entry" ]; then
         case "$entry" in
-            /*) fullpath="${2}/$entry" ;;
+            /*) fullpath="$PWD/$entry" ;;
             *)  fullpath="$entry" ;;
         esac
         if [ "-" = "$3" ]; then