plugin: fzopen: print full path for picker mode

Closes: https://github.com/mcchrish/nnn.vim/issues/133
This commit is contained in:
NRK 2021-11-01 13:28:49 +06:00
parent 473cd271b5
commit a47376ee04
1 changed files with 2 additions and 2 deletions

View File

@ -42,9 +42,9 @@ fi
if [ "$3" ]; then
if [ "$entry" ]; then
if [ "-" = "$3" ]; then
printf "%s\n" "$entry"
printf "%s\n" "${2}/$entry"
else
printf "%s\n" "$entry" > "$3"
printf "%s\n" "${2}/$entry" > "$3"
fi
# Tell `nnn` to clear its internal selection