commit a47376ee04f292a3c678a39274835b0e3e2ec805
parent 473cd271b547beba896e887fc99bbb2ba63dfe9a
Author: NRK <nrk@disroot.org>
Date: Mon, 1 Nov 2021 13:28:49 +0600
plugin: fzopen: print full path for picker mode
Closes: https://github.com/mcchrish/nnn.vim/issues/133
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/fzopen b/plugins/fzopen
@@ -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