setenv NNN_TMPFILE /tmp/nnn

alias n 'nnn; source "$NNN_TMPFILE"; rm "$NNN_TMPFILE"'
