]> Sergey Matveev's repositories - nnn.git/commitdiff
Move nlaunch from user-scripts
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 18 Apr 2019 14:11:39 +0000 (19:41 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 18 Apr 2019 14:11:39 +0000 (19:41 +0530)
README.md
scripts/nlaunch/nlaunch [moved from user-scripts/nlaunch with 93% similarity]
user-scripts/README.md

index 3b07b0397877a97702f07f2701e3a269ec322b8f..ab24f6a5986f33b4beced08df514a26c890da453 100644 (file)
--- a/README.md
+++ b/README.md
@@ -196,7 +196,7 @@ Option completion scripts for Bash, Fish and Zsh can be found in respective subd
 2. Configure [cd on quit](https://github.com/jarun/nnn/wiki/hacking-nnn#cd-on-quit).
 3. Optionally open all text files in `$EDITOR` (fallback vi): `export NNN_USE_EDITOR=1`
 4. Run `n`.
-5. To use `nnn` as a GUI app launcher with fuzzy selection menu, drop [`nlaunch`](https://github.com/jarun/nnn/blob/master/user-scripts/nlaunch) somewhere in your `$PATH`.
+5. To use `nnn` as a GUI app launcher with fuzzy selection menu, drop [`nlaunch`](https://github.com/jarun/nnn/blob/master/scripts/nlaunch/nlaunch) somewhere in your `$PATH`. Note that the launcher requires fzy.
 6. Don't memorize keys. Arrows, <kbd>/</kbd> and <kbd>q</kbd> suffice. Press <kbd>?</kbd> for help on keyboard shortcuts anytime.
 
 - For additional functionality [setup custom scripts](#user-scripts).
similarity index 93%
rename from user-scripts/nlaunch
rename to scripts/nlaunch/nlaunch
index 7448ca91b5fae4de1390829d6487594838af0591..18d0f8badfa019fdd22f020a987eb7a0de0bed1b 100755 (executable)
@@ -4,6 +4,8 @@
 #              stdin, stdout, stderr are suppressed so CLI utilities exit silently.
 #              Works as an independent app launcher.
 #
+#              Requires fzy.
+#
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
 
index 5b481c3605fe2fb40ab352c0b814712fd3998fb8..40aae409aafdc53c721e915fac75c26536de5c65 100644 (file)
@@ -8,7 +8,6 @@
 | imgur | bash | [imgur](https://github.com/jomo/imgur-screenshot) | Upload an image to imgur |
 | kdeconnect | sh | kdeconnect-cli | Send selected files to an Android device |
 | ndiff | sh | vimdiff | File and directory diff for selection |
-| nlaunch | sh | fzy | Drop-down app launcher. Copy in `$PATH`; fallback regular prompt |
 | nwal | sh | nitrogen | Set the selected image as wallpaper using nitrogen |
 | paste | sh | [pastebinit](https://launchpad.net/pastebinit) | Paste contents of current (text) file to paste.ubuntu.com |
 | picker | sh | nnn | Pick files and pipe the newline-separated list to another utility |