mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Update readme
This commit is contained in:
parent
d7bfe38728
commit
bbfb16db42
|
@ -141,7 +141,7 @@ export NNN_PLUG='p:-plugin'
|
||||||
|
|
||||||
## Running commands as plugin [`!`]
|
## Running commands as plugin [`!`]
|
||||||
|
|
||||||
To assign keys to arbitrary non-background cli commands and invoke like plugins, add `!` (underscore) before the command.
|
To assign keys to arbitrary non-background cli commands and invoke like plugins, add `!` before the command.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export NNN_PLUG='x:!chmod +x "$nnn";g:!git log;s:!smplayer "$nnn"'
|
export NNN_PLUG='x:!chmod +x "$nnn";g:!git log;s:!smplayer "$nnn"'
|
||||||
|
|
Loading…
Reference in a new issue