]> Sergey Matveev's repositories - nnn.git/commitdiff
Plugin getplugs: update nnn plugins
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 19 Apr 2019 13:34:20 +0000 (19:04 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 19 Apr 2019 13:36:03 +0000 (19:06 +0530)
plugins/README.md
plugins/fzy-edit [moved from plugins/edit with 100% similarity]
plugins/fzy-open [moved from plugins/fzy with 100% similarity]
plugins/getplugs [new file with mode: 0755]
plugins/pastebin [moved from plugins/paste with 100% similarity]

index 088496b7f110607e0028f05bf9067a66d6a5b620..f9a8fa2bd5db1705a23fa16547f55ede2756d359 100644 (file)
@@ -1,15 +1,16 @@
 | Plugin (a-z) | Lang | Deps | Description |
 | --- | --- | --- | --- |
-| edit | sh | fzy | Fuzzy find a file in directory subtree and edit in vim |
-| fzy | sh | fzy | Fuzzy find a file in directory subtree and open using xdg-open |
-| hexview | sh | xxd, `$PAGER` | view a file in hex |
+| fzy-edit | sh | fzy | Fuzzy find a file in directory subtree and edit in vim |
+| fzy-open | sh | fzy | Fuzzy find a file in directory subtree and open using xdg-open |
+| getplugs | sh | wget | Update plugins |
+| hexview | sh | xxd, `$PAGER` | View a file in hex |
 | imgresize | sh | [imgp](https://github.com/jarun/imgp) | Resize images in directory to screen resolution |
 | imgur | bash | - | Upload an image to imgur (from [imgur-screenshot](https://github.com/jomo/imgur-screenshot)) |
 | kdeconnect | sh | kdeconnect-cli | Send selected files to an Android device |
 | ndiff | sh | vimdiff | File and directory diff for selection |
 | nmount | sh | pmount | Toggle mount status of a device as normal user |
 | 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 |
+| pastebin | 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 |
 | pywal | sh | pywal | Set selected image as wallpaper, change terminal color scheme |
 | sxiv | sh | sxiv | Browse images in a dir in sxiv, set wallpaper, copy path ([config](https://wiki.archlinux.org/index.php/Sxiv#Assigning_keyboard_shortcuts))|
similarity index 100%
rename from plugins/edit
rename to plugins/fzy-edit
similarity index 100%
rename from plugins/fzy
rename to plugins/fzy-open
diff --git a/plugins/getplugs b/plugins/getplugs
new file mode 100755 (executable)
index 0000000..6c74336
--- /dev/null
@@ -0,0 +1,11 @@
+#!/usr/bin/env sh
+
+# Description: Update nnn plugins
+#
+# Shell: POSIX compliant
+# Author: Arun Prakash Jana
+
+wget -nv --show-progress https://github.com/jarun/nnn/archive/master.tar.gz
+tar -xf master.tar.gz
+cp -vf nnn-master/plugins/* .
+rm -rf nnn-master/ master.tar.gz README.md
similarity index 100%
rename from plugins/paste
rename to plugins/pastebin