kgdafg
Last Updated: January 20, 2018
·
37
· 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}";'

Say Thanks
Respond