Last Updated: September 30, 2021
·
140
· truedays

keep your .bash_history clean

Simple bash alias to NOT save your history (~/.bash_history) on exit.
Useful when you live and work in the shell--mistakes happen. Keep only the good examples.

alias u='unset HISTFILE; echo "Session is now incognito.";PS1="(⌐⎚-⎚) ${PS1}";'