aboutsummaryrefslogtreecommitdiffstats
path: root/misc/quitcd/quitcd.zsh
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-30 02:21:59 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-30 02:21:59 +0530
commitf231c35ef90b5e2124e94a79fe784be97d442d16 (patch)
tree06cf0f6348afd7154c7baaf12cb8a2354980c241 /misc/quitcd/quitcd.zsh
parent3b42b6fc42ce762ebb7fdb9849b8c5a48b88d02f (diff)
downloadnnn-f231c35ef90b5e2124e94a79fe784be97d442d16.tar.gz
Update docs
Diffstat (limited to 'misc/quitcd/quitcd.zsh')
-rw-r--r--misc/quitcd/quitcd.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/quitcd/quitcd.zsh b/misc/quitcd/quitcd.zsh
index 5ea82c4..43908db 100644
--- a/misc/quitcd/quitcd.zsh
+++ b/misc/quitcd/quitcd.zsh
@@ -8,6 +8,7 @@ n ()
# The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set)
# To cd on quit only on ^G, export NNN_TMPFILE after the call to nnn
+ # NOTE: NNN_TMPFILE is fixed, should not be modified
export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
# Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn