From 0f01bd7d3a72eabcb25af4f77ee2e90017ff82f8 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 15 May 2020 00:13:55 +0530 Subject: [PATCH] Fix #573: update docs --- nnn.1 | 1 + plugins/README.md | 2 ++ 2 files changed, 3 insertions(+) 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: