From: NRK Date: Mon, 1 Nov 2021 08:13:21 +0000 (+0600) Subject: use $PWD X-Git-Tag: v4.4~22^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d2dff487e08a861b762f251205927d496d294329;p=nnn.git use $PWD --- diff --git a/plugins/fzopen b/plugins/fzopen index 013413fb..c44122a0 100755 --- a/plugins/fzopen +++ b/plugins/fzopen @@ -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