diff --git a/bash/bashrc b/bash/bashrc index 1c32ebf..c5a9a8b 100755 --- a/bash/bashrc +++ b/bash/bashrc @@ -103,6 +103,9 @@ unset bash bmajor bminor HISTSIZE=10000 HISTFILESIZE=20000 +# Lines which begin with a space character are not saved in the history list. +HISTCONTROL=ignorespace + # Add date and time to the history HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] "