]> Sergey Matveev's repositories - nnn.git/commitdiff
List available user-scripts
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 10 Mar 2019 18:58:28 +0000 (00:28 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 10 Mar 2019 18:58:28 +0000 (00:28 +0530)
README.md
user-scripts/imgur.sh
user-scripts/picker.sh

index eb34f1a73828b918e419e1c91b9af86715e91f2c..6a4a88f759d7edb27445106368ba2bed0705f425 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,6 +61,7 @@ It runs on Linux, macOS, Raspberry Pi, BSD, Cygwin, Linux subsystem for Windows
   - [Configuration](#configuration)
   - [Help](#help)
 - [Quickstart](#quickstart)
+- [User scripts](#user-scripts)
 - [Troubleshooting](#troubleshooting)
   - [Tmux configuration](#tmux-configuration)
   - [BSD terminal issue](#bsd-terminal-issue)
@@ -401,6 +402,20 @@ To lookup keyboard shortcuts at runtime, press <kbd>?</kbd>.
 - For additional functionality [setup custom scripts](https://github.com/jarun/nnn/wiki/How-to#run-custom-scripts).
 - Visit the [How to](https://github.com/jarun/nnn/wiki/How-to) for many more specific usecases.
 
+#### USER SCRIPTS
+
+The following [user-scripts](https://github.com/jarun/nnn/tree/master/user-scripts) are available.
+
+| Script | Description |
+| --- | --- |
+| copier.sh | Copy selection to clipboard |
+| edit.sh | Fuzzy find a file in directory subtree with fzy and edit in vim |
+| fzy.sh | Fuzzy find a file in directory subtree with fzy and open using xdg-open |
+| imgur.sh | Upload an image file to imgur |
+| picker.sh | Pick files and pipe the newline-separated list to another utility |
+| sxiv.sh | Open images in current directory in sxiv |
+| upgrade.sh | Check and update to latest version of nnn manually on Debian 9 Stretch |
+
 #### TROUBLESHOOTING
 
 ##### Tmux configuration
index 675a3f0d455c8767621004499c6f067414e8d8cd..0a660fc76f4c6b56d3cc5f039e3b254b4dff0d20 100755 (executable)
@@ -3,6 +3,9 @@
 # https://imgur.com/tools
 #
 # Slightly modified for `nnn` integration
+#
+# Shell: bash
+# Description: Upload an image file to imgur
 
 if [ "${1}" = "--debug" ]; then
   echo "########################################"
index 46168f1f44f8893b6c211316e496e0d19a39476c..cebecb16c236508e5b08589f59be80ac48207564 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-# Description: Pick files and pipe the line-separated list to another utility
+# Description: Pick files and pipe the newline-separated list to another utility
 #
 # Shell: generic
 # Author: Arun Prakash Jana