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}";'
Written by truedays
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Bash .bashrc alias
Authors
Related Tags
#bash .bashrc alias
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#