diff options
Diffstat (limited to 'misc/quitcd/quitcd.fish')
-rw-r--r-- | misc/quitcd/quitcd.fish | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/quitcd/quitcd.fish b/misc/quitcd/quitcd.fish index 3053656..5b9cd62 100644 --- a/misc/quitcd/quitcd.fish +++ b/misc/quitcd/quitcd.fish @@ -11,6 +11,7 @@ function n --description 'support nnn quit and change directory' # 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 if test -n "$XDG_CONFIG_HOME" set -x NNN_TMPFILE "$XDG_CONFIG_HOME/nnn/.lastd" else |