mirror of
https://github.com/jarun/nnn.git
synced 2024-11-23 19:31:28 +00:00
Fix inaccurate cd on quit comment
parent
f321cb35a2
commit
f7f2b3b3f3
|
@ -123,9 +123,9 @@ nnn-preview ()
|
|||
fi
|
||||
|
||||
# The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set)
|
||||
# To cd on quit only on ^G, remove the "export" as in:
|
||||
# If NNN_TMPFILE is set to a custom path, it must be exported for nnn to see.
|
||||
# To cd on quit only on ^G, remove the "export" and set NNN_TMPFILE *exactly* as this:
|
||||
# NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
|
||||
# NOTE: NNN_TMPFILE is fixed, should not be modified
|
||||
export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
|
||||
|
||||
# This will create a fifo where all nnn selections will be written to
|
||||
|
|
Loading…
Reference in a new issue