mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Load dir after hovered image
This commit is contained in:
parent
c70aaf2076
commit
9b37c9edb1
|
@ -9,7 +9,7 @@
|
||||||
if command -v sxiv >/dev/null 2>&1; then
|
if command -v sxiv >/dev/null 2>&1; then
|
||||||
if ! [ -z "$1" ]; then
|
if ! [ -z "$1" ]; then
|
||||||
if [ -f "$1" ]; then
|
if [ -f "$1" ]; then
|
||||||
sxiv -q "$PWD"
|
sxiv -q "$1" "$PWD"
|
||||||
elif [ -d "$1" ] || [ -h "$1" ]; then
|
elif [ -d "$1" ] || [ -h "$1" ]; then
|
||||||
sxiv -qt "$1"
|
sxiv -qt "$1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue