From b764055314ac281206f370d49e49ee9faf8b24e7 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 5 May 2019 08:20:35 +0530 Subject: Update getplugs to set up nlauch --- plugins/README.md | 4 ++-- plugins/getplugs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/README.md b/plugins/README.md index 9b1571c..544d2b8 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -21,9 +21,9 @@ #### Installing plugins -Download the `getplugs` plugin and execute it to get all the plugins. You can run it again later to update the plugins. +Download the `getplugs` plugin and execute it anywhere to get all the plugins installed to `~/.config/nnn/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. +**NOTE:** `getplugs` also downloads the launcher `nlaunch` and tries to place it at `/usr/local/bin/` using `sudo`. If it fails you have to place `nlauch` manually somewhere in your `$PATH`. #### File access from plugins diff --git a/plugins/getplugs b/plugins/getplugs index 817d5aa..14184c3 100755 --- a/plugins/getplugs +++ b/plugins/getplugs @@ -10,5 +10,5 @@ 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 . +sudo mv -vf nnn-master/scripts/nlaunch/nlaunch /usr/local/bin/ rm -rf nnn-master/ master.tar.gz README.md -- cgit v1.2.3-70-g09d2