Update docs

This commit is contained in:
Arun Prakash Jana 2021-06-06 23:35:15 +05:30
parent 51ac3d02c9
commit 6d2d901a91
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 4 additions and 4 deletions

4
nnn.1
View file

@ -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)

View file

@ -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'