"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "misc/quitcd/quitcd.csh" between
nnn-v4.3.tar.gz and nnn-v4.4.tar.gz

About: nnn is a full-featured terminal file manager.

quitcd.csh  (nnn-v4.3):quitcd.csh  (nnn-v4.4)
# NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME' # NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME'
# The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set) # The behaviour is set to cd on quit (nnn checks if NNN_TMPFILE is set)
# To cd on quit only on ^G, export NNN_TMPFILE after the call to nnn # To cd on quit only on ^G, set NNN_TMPFILE after nnn invocation
# A custom path can also be set e.g. set NNN_TMPFILE=/tmp/.lastd
set NNN_TMPFILE=~/.config/nnn/.lastd set NNN_TMPFILE=~/.config/nnn/.lastd
# Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn # Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
# stty start undef # stty start undef
# stty stop undef # stty stop undef
# stty lwrap undef # stty lwrap undef
# stty lnext undef # stty lnext undef
alias n 'nnn; source "$NNN_TMPFILE"; rm -f "$NNN_TMPFILE"' alias n 'nnn; source "$NNN_TMPFILE"; rm -f "$NNN_TMPFILE"'
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)