README.md | 6 ++---- plugins/README.md | 4 ++-- plugins/getplugs | 2 +- diff --git a/README.md b/README.md index d2f89e4e0e004214cfd6953aa0d56292ffc8af49..9083f9a8acf8a2836c0c5736c01c4a6e00c6a197 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ 1. Install the [utilities required](#utility-dependencies) for your regular activities. 2. Configure [cd on quit](https://github.com/jarun/nnn/wiki/hacking-nnn#cd-on-quit). 3. Optionally open all text files in `$EDITOR` (fallback vi): `export NNN_USE_EDITOR=1` 4. Run `n`. -5. For additional functionality [setup plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins) and the GUI app launcher [`nlaunch`](https://github.com/jarun/nnn/tree/master/scripts/nlaunch). +5. For additional functionality [install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins) and the GUI app launcher [`nlaunch`](https://github.com/jarun/nnn/tree/master/scripts/nlaunch). - Don't memorize keys. Arrows, / and q suffice. Press ? for help on keyboard shortcuts anytime. - When you are ready for more, start [hacking `nnn`](https://github.com/jarun/nnn/wiki/hacking-nnn). @@ -416,9 +416,7 @@ To lookup keyboard shortcuts at runtime, press ?. #### PLUGINS -To extend the capabilities of `nnn`, plugins are introduced. Plugins are scripts which `nnn` can communicate with and trigger. This mechanism fits perfectly with the fundamental design to keep the core file manager lean and fast, by delegating repetitive (but not necessarily file manager-specific) tasks to the plugins. - -Copy the [plugins](https://github.com/jarun/nnn/tree/master/plugins) of your interest to `~/.config/nnn/plugins`. +To extend the capabilities of `nnn`, [plugins](https://github.com/jarun/nnn/tree/master/plugins) are introduced. Plugins are scripts which `nnn` can communicate with and trigger. This mechanism fits perfectly with the fundamental design to keep the core file manager lean and fast, by delegating repetitive (but not necessarily file manager-specific) tasks to the plugins. Use the pick plugin shortcut to visit the plugin directory and execute a plugin. Repeating the same shortcut cancels the operation and puts you back in the original directory. diff --git a/plugins/README.md b/plugins/README.md index 9b1571c229dea804f344ac520c89d6b046d8e4f4..544d2b89f061e1e2ea441a12544ced4bd716195e 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -21,9 +21,9 @@ | 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. +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 817d5aa381fe867799b9f6111dacda05e989b359..14184c37b9628055ecbaf4519ff165e46f397513 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