diff --git a/.bashrc b/.bashrc index f1403ee..1fbe852 100644 --- a/.bashrc +++ b/.bashrc @@ -9,6 +9,8 @@ shopt -s histappend #export PROMPT_COMMAND="history -a" PROMPT_COMMAND="history -a; $PROMPT_COMMAND" +export HISTCONTROL=erasedups + # If not running interactively, don't do anything case $- in *i*) ;;