diff --git a/nnn.1 b/nnn.1 index f78ea132..84f907e8 100644 --- a/nnn.1 +++ b/nnn.1 @@ -358,6 +358,7 @@ separated by \fI;\fR: 4. To disable directory refresh after running a \fIcommand as plugin\fR, prefix with \fB-_\fR 5. To skip user confirmation after command execution, suffix with \fB*\fR + Note: Do not use \fB*\fR with programs those run and exit e.g. cat export NNN_PLUG='y:-_sync*' diff --git a/plugins/README.md b/plugins/README.md index 03065c36..d6a3ddba 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -122,6 +122,8 @@ export NNN_PLUG='s:_smplayer $nnn*;n:-_vim /home/vaio/Dropbox/Public/synced_note Now there will be no prompt after ;s and ;n. +Note: Do not use `*` with programs those run and exit e.g. cat. + #### Run GUI app as plugin To run a GUI app as plugin, add a `|` after `_`. For example: