mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Fix opening image with sxiv
This commit is contained in:
parent
2f6a4dd8ee
commit
2886abc90c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue