From 8f1fdcf3e8b7aad1df44bbcbeb4133fb3dd8064a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 30 Apr 2019 08:36:55 +0530 Subject: Update docs --- plugins/README.md | 6 ++++++ plugins/getplugs | 3 +++ 2 files changed, 9 insertions(+) (limited to 'plugins') 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 -- cgit v1.2.3-70-g09d2