]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix #573: update docs
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 14 May 2020 18:43:55 +0000 (00:13 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 14 May 2020 18:43:55 +0000 (00:13 +0530)
nnn.1
plugins/README.md

diff --git a/nnn.1 b/nnn.1
index f78ea132fbc1d9797d6cfba3a072440fbe9f5c67..84f907e87233381fa881de19193a17084fdf65fc 100644 (file)
--- 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*'
 
index 03065c3609c7e8ae0a57b817bd9f4069abc9478f..d6a3ddba1dbcb512f8813d89c51b20882b34e85b 100644 (file)
@@ -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 <kbd>;s</kbd> and <kbd>;n</kbd>.
 
+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: