diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/README.md | 6 | ||||
-rwxr-xr-x | plugins/getplugs | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/README.md b/plugins/README.md index 76931bd..9b1571c 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -19,6 +19,12 @@ | transfer | sh | curl | Upload current file to transfer.sh | | upgrade | sh | wget | Upgrade to latest nnn version manually on Debian 9 Stretch | +#### Installing plugins + +Download the `getplugs` plugin and execute it to get all the plugins. You can run it again later to update the plugins. + +Note that `getplugs` also downloads the launcher `nlaunch` which you have to drop somewhere in your `$PATH` manually. + #### File access from plugins Plugins can access: diff --git a/plugins/getplugs b/plugins/getplugs index 6c74336..817d5aa 100755 --- a/plugins/getplugs +++ b/plugins/getplugs @@ -5,7 +5,10 @@ # Shell: POSIX compliant # Author: Arun Prakash Jana +mkdir -p ~/.config/nnn/plugins +cd ~/.config/nnn/plugins wget -nv --show-progress https://github.com/jarun/nnn/archive/master.tar.gz tar -xf master.tar.gz cp -vf nnn-master/plugins/* . +cp -vf nnn-master/scripts/nlaunch/nlaunch . rm -rf nnn-master/ master.tar.gz README.md |