aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-05 08:20:35 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-22 08:44:19 +0530
commitb764055314ac281206f370d49e49ee9faf8b24e7 (patch)
treedd6ff63efee5196dc7f21a292a1481f197c12d19 /plugins
parent5cd8578799f8fa14e9e4b0d5304b228a1eebd972 (diff)
downloadnnn-b764055314ac281206f370d49e49ee9faf8b24e7.tar.gz
Update getplugs to set up nlauch
Diffstat (limited to 'plugins')
-rw-r--r--plugins/README.md4
-rwxr-xr-xplugins/getplugs2
2 files changed, 3 insertions, 3 deletions
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