mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Update docs
This commit is contained in:
parent
51ac3d02c9
commit
6d2d901a91
4
nnn.1
4
nnn.1
|
@ -409,8 +409,8 @@ separated by \fI;\fR:
|
||||||
|
|
||||||
export NNN_PLUG='m:-!&mousepad $nnn'
|
export NNN_PLUG='m:-!&mousepad $nnn'
|
||||||
|
|
||||||
7. To show the output of run-to-completion commands which do not need user
|
7. To show the output of run-and-exit commands which do not need user input,
|
||||||
input, add \fB|\fR (pipe) after \fB!\fR
|
add \fB|\fR (pipe) after \fB!\fR
|
||||||
Note: This option is incompatible with \fB&\fR (terminal output is masked
|
Note: This option is incompatible with \fB&\fR (terminal output is masked
|
||||||
for GUI programs) and ignores \fB*\fR (output is already paged for user)
|
for GUI programs) and ignores \fB*\fR (output is already paged for user)
|
||||||
|
|
||||||
|
|
|
@ -150,9 +150,9 @@ To run a GUI app as plugin, add a `&` after `!`.
|
||||||
export NNN_PLUG='m:-!&mousepad $nnn'
|
export NNN_PLUG='m:-!&mousepad $nnn'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Page run-and-exit command output
|
#### Page non-interactive command output
|
||||||
|
|
||||||
To show the output of run-to-completion commands which do not need user input, add `|` (pipe) after `!`.
|
To show the output of run-and-exit commands which do not need user input, add `|` (pipe) after `!`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export NNN_PLUG='m:-!|mediainfo $nnn;t:-!|tree -ps;l:-!|ls -lah --group-directories-first'
|
export NNN_PLUG='m:-!|mediainfo $nnn;t:-!|tree -ps;l:-!|ls -lah --group-directories-first'
|
||||||
|
|
Loading…
Reference in a new issue