diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-30 02:21:59 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-30 02:21:59 +0530 |
commit | f231c35ef90b5e2124e94a79fe784be97d442d16 (patch) | |
tree | 06cf0f6348afd7154c7baaf12cb8a2354980c241 /misc | |
parent | 3b42b6fc42ce762ebb7fdb9849b8c5a48b88d02f (diff) | |
download | nnn-f231c35ef90b5e2124e94a79fe784be97d442d16.tar.gz |
Update docs
Diffstat (limited to 'misc')
-rw-r--r-- | misc/quitcd/quitcd.bash | 1 | ||||
-rw-r--r-- | misc/quitcd/quitcd.csh | 1 | ||||
-rw-r--r-- | misc/quitcd/quitcd.fish | 1 | ||||
-rw-r--r-- | misc/quitcd/quitcd.zsh | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/misc/quitcd/quitcd.bash b/misc/quitcd/quitcd.bash index 5ea82c4..43908db 100644 --- a/misc/quitcd/quitcd.bash +++ b/misc/quitcd/quitcd.bash @@ -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 diff --git a/misc/quitcd/quitcd.csh b/misc/quitcd/quitcd.csh index 9806cef..5341b19 100644 --- a/misc/quitcd/quitcd.csh +++ b/misc/quitcd/quitcd.csh @@ -2,6 +2,7 @@ # 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 set NNN_TMPFILE=~/.config/nnn/.lastd # Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn 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 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 |