From f7f2b3b3f356cead3f950c7440af696749d33c36 Mon Sep 17 00:00:00 2001 From: N-R-K <79544946+N-R-K@users.noreply.github.com> Date: Wed, 6 Apr 2022 12:46:45 +0000 Subject: [PATCH] Fix inaccurate cd on quit comment --- Live-previews.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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