nnn/misc/quitcd/quitcd.csh
2019-06-17 07:04:42 +05:30

4 lines
156 B
Tcsh

# NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME'
set NNN_TMPFILE=~/.config/nnn/.lastd
alias n 'nnn; source "$NNN_TMPFILE"; rm "$NNN_TMPFILE"'