aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-19 19:04:20 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-19 19:06:03 +0530
commitd5107d28ac41201e764a168c43f2931b6d44854c (patch)
treeb978e31f76cac08ff7c0d5dc1a476c009812b074
parent430945d42063482cc2485dfec541a851df4f7556 (diff)
downloadnnn-d5107d28ac41201e764a168c43f2931b6d44854c.tar.gz
Plugin getplugs: update nnn plugins
-rw-r--r--plugins/README.md9
-rwxr-xr-xplugins/fzy-edit (renamed from plugins/edit)0
-rwxr-xr-xplugins/fzy-open (renamed from plugins/fzy)0
-rwxr-xr-xplugins/getplugs11
-rwxr-xr-xplugins/pastebin (renamed from plugins/paste)0
5 files changed, 16 insertions, 4 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 088496b..f9a8fa2 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -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))|
diff --git a/plugins/edit b/plugins/fzy-edit
index 6155250..6155250 100755
--- a/plugins/edit
+++ b/plugins/fzy-edit
diff --git a/plugins/fzy b/plugins/fzy-open
index 0ddd229..0ddd229 100755
--- a/plugins/fzy
+++ b/plugins/fzy-open
diff --git a/plugins/getplugs b/plugins/getplugs
new file mode 100755
index 0000000..6c74336
--- /dev/null
+++ b/plugins/getplugs
@@ -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
diff --git a/plugins/paste b/plugins/pastebin
index de130e4..de130e4 100755
--- a/plugins/paste
+++ b/plugins/pastebin