nnn/scripts/quitcd/quitcd.csh
2019-06-09 10:36:35 +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"'