]> Sergey Matveev's repositories - nnn.git/commitdiff
Load dir after hovered image
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 23 Nov 2019 05:07:46 +0000 (10:37 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 23 Nov 2019 05:07:46 +0000 (10:37 +0530)
plugins/imgsxiv

index 1fe81b79428aaa3368d87fc280d09437e5ae1cef..cbe4a18ea665a616d9aa3fbf2f7db95c64ebfd72 100755 (executable)
@@ -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