diff options
author | lvgx <l@vgx.fr> | 2020-05-23 14:03:37 +0200 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-23 17:40:51 +0530 |
commit | b1027150ed09ddeb9acab56a29e216c7196be4e1 (patch) | |
tree | dc48a4cb198d9926c0f32fa007e5d0f42e660af9 /nnn.1 | |
parent | c7af686b4e527148ff2ee301204769b819785dba (diff) | |
download | nnn-b1027150ed09ddeb9acab56a29e216c7196be4e1.tar.gz |
Add -a option to generate a temporary NNN_FIFO (#588)
* Add -a option to generate a temporary NNN_FIFO
* Add documentation for -a option
* plugins/README.md: promote the use of -a
This obsoletes the global FIFO unlink trick, so I remove mentions of it.
@jarun update:
Polish -a
Diffstat (limited to 'nnn.1')
-rw-r--r-- | nnn.1 | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -6,6 +6,7 @@ .Nd the missing terminal file manager for X .Sh SYNOPSIS .Nm +.Op Ar -a .Op Ar -A .Op Ar -b key .Op Ar -c @@ -54,6 +55,9 @@ to see the list of keybinds. .Nm supports the following options: .Pp +.Fl a + auto-setup temporary NNN_FIFO (described in ENVIRONMENT section) +.Pp .Fl A disable directory auto-select in type-to-nav mode .Pp @@ -423,7 +427,9 @@ separated by \fI;\fR: .Bd -literal export NNN_FIFO='/tmp/nnn.fifo' - NOTE: If the FIFO file doesn't exist it will be created, but it will never be removed. + NOTES: + 1. Overriden by a temporary path with -a option. + 2. If the FIFO file doesn't exist it will be created, but not removed (unless it is generated by -a option). .Ed .Pp \fBNNN_LOCKER:\fR terminal locker program. |