mirror of
https://github.com/jarun/nnn.git
synced 2025-01-28 19:56:48 +00:00
Merge pull request #1712 from Rahlir/plugin-fzopen-fix
Fix bug in fzopen when selection is canceled
This commit is contained in:
commit
66f636de13
|
@ -59,6 +59,7 @@ if [ "$3" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$entry" ]; then
|
||||||
if [ "$USE_NUKE" -ne 0 ]; then
|
if [ "$USE_NUKE" -ne 0 ]; then
|
||||||
"$NUKE" "$entry"
|
"$NUKE" "$entry"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -81,3 +82,4 @@ case "$($cmd_file "$entry")" in
|
||||||
*)
|
*)
|
||||||
$cmd_open "$entry" >/dev/null 2>&1 ;;
|
$cmd_open "$entry" >/dev/null 2>&1 ;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue