diff --git a/bash/options b/bash/options index a675b4d..ba7d186 100755 --- a/bash/options +++ b/bash/options @@ -3,10 +3,7 @@ export HISTFILE="${HOME}/.bash/.history" export HISTSIZE=1000 -# don't put duplicate lines in the history. See bash(1) for more options -# don't overwrite GNU Midnight Commander's setting of `ignorespace'. -export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups -# ... or force ignoredups and ignorespace +# ignore both duplicates and whitespace in history export HISTCONTROL=ignoreboth # append to the history file, don't overwrite it