aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.15
1 files changed, 5 insertions, 0 deletions
diff --git a/nnn.1 b/nnn.1
index c444659..b126568 100644
--- a/nnn.1
+++ b/nnn.1
@@ -330,6 +330,11 @@ files.
.Bd -literal
export NNN_PLAIN_FILTER=1
.Ed
+.Pp
+\fBNNN_TMPFILE:\fR when cd on quit is pressed, the absolute path of the current open directory is written to this file. A wrapper script can read this file and cd into it once the program quits.
+.Bd -literal
+ export NNN_TMPFILE=/tmp/nnn
+.Ed
.Sh KNOWN ISSUES
If you are using urxvt you might have to set backspace key to DEC.
.Sh AUTHORS