From: Arun Prakash Jana Date: Sat, 23 Nov 2019 05:07:46 +0000 (+0530) Subject: Load dir after hovered image X-Git-Tag: v2.8~32 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9b37c9edb1c98cc1e213c16d678da38782a257c4;p=nnn.git Load dir after hovered image --- diff --git a/plugins/imgsxiv b/plugins/imgsxiv index 1fe81b79..cbe4a18e 100755 --- a/plugins/imgsxiv +++ b/plugins/imgsxiv @@ -9,7 +9,7 @@ if command -v sxiv >/dev/null 2>&1; then if ! [ -z "$1" ]; then if [ -f "$1" ]; then - sxiv -q "$PWD" + sxiv -q "$1" "$PWD" elif [ -d "$1" ] || [ -h "$1" ]; then sxiv -qt "$1" fi