plugins/README.md | 16 ++++++++-------- diff --git a/plugins/README.md b/plugins/README.md index e19c216d9b5b65706342c8b517b524b140a46c9b..d850e5457867b44bb5b221463df8ce61c199f00f 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -10,6 +10,14 @@ ## Introduction Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or binaries) 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. +## Installing plugins + +The following command installs or updates (after backup) all plugins: + + curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh + +Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. + ## List of plugins | Plugin (a-z) | Description | Lang | Deps | @@ -54,14 +62,6 @@ | upgrade | Upgrade nnn manually on Debian 9 Stretch | sh | curl | | upload | Paste text to ix.io, upload binary to file.io | sh | curl, jq, tr | | vidthumb | Show video thumbnails in terminal | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),
[lsix](https://github.com/hackerb9/lsix) | | wall | Set wallpaper or change colorscheme | sh | nitrogen/pywal | - -## Installing plugins - -The following command installs all plugins: - - curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh - -Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. You can run the `getplugs` plugin later to update the plugins. It backs up earlier plugins. ## Ways to invoke a plugin