diff --git a/Live-previews.md b/Live-previews.md index 30ab220..947423e 100644 --- a/Live-previews.md +++ b/Live-previews.md @@ -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