diff options
author | 2019-12-13 08:33:02 +0530 | |
---|---|---|
committer | 2019-12-13 08:33:02 +0530 | |
commit | 2886abc90c2f05292ec35196de8a9e6d4b678703 (patch) | |
tree | c09a07e21e52e1a7ff17586a83f9d36c31818314 | |
parent | 2f6a4dd8ee20bc7aec3af9339a4c236f8746ec30 (diff) | |
download | nnn-2886abc90c2f05292ec35196de8a9e6d4b678703.tar.gz |
Fix opening image with sxiv
-rwxr-xr-x | plugins/nuke | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/nuke b/plugins/nuke index 2bab939..7ba36b3 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -204,7 +204,7 @@ handle_multimedia() { ## Image image/*) if [ $GUI -ne 0 ] && which sxiv >/dev/null 2>&1; then - sxiv -q "$1" "$(dirname "${FPATH}")" & + sxiv -q "${FPATH}" & exit 0 elif which viu >/dev/null 2>&1; then viu -n "${FPATH}" | less -R |