diff --git a/bashrc.txt b/bashrc.txt index 8bc3056b..df8ee061 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -9,6 +9,9 @@ set -o vi bind -m vi-command 'Control-l: clear-screen' bind -m vi-insert 'Control-l: clear-screen' +# clears the history copletely upon loading bash +cat /dev/null > ~/.bash_history && history -c + [[ $- != *i* ]] && return colors() {