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

index c44122a083a6cbbdba1b41a9ba984c7a44e6b4af..57035b5cae72b2a6e4d96408f87b49aa5c1eb662 100755 (executable)
@@ -42,8 +42,8 @@ fi
 if [ "$3" ]; then
     if [ "$entry" ]; then
         case "$entry" in
-            /*) fullpath="$PWD/$entry" ;;
-            *)  fullpath="$entry" ;;
+            /*) fullpath="$entry" ;;
+            *)  fullpath="$PWD/$entry" ;;
         esac
         if [ "-" = "$3" ]; then
             printf "%s\n" "$fullpath"