]> Sergey Matveev's repositories - nnn.git/commitdiff
Document how to integrate sxiv
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 30 Mar 2018 16:22:26 +0000 (21:52 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 30 Mar 2018 16:22:26 +0000 (21:52 +0530)
README.md

index fc35517431bb9e5a2e8d0d97d06d0a9677e0a3dd..be91c5e4bde6f3fc3d39f8ed8f94127ccaf50d06 100644 (file)
--- a/README.md
+++ b/README.md
@@ -418,6 +418,12 @@ Export the path to the custom script:
 
     export NNN_SCRIPT=/usr/local/bin/script.sh
 
+Sample script to open image files in current dir in sxiv:
+
+    #!/usr/bin/env sh
+
+    sxiv -q * >/dev/null 2>&1
+
 Press <kbd>R</kbd> to run the script in the current directory.
 
 #### change dir color