diff options
Diffstat (limited to '.config/bash/rc.sh')
-rw-r--r-- | .config/bash/rc.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/bash/rc.sh b/.config/bash/rc.sh index 2bf60bc..ab690cf 100644 --- a/.config/bash/rc.sh +++ b/.config/bash/rc.sh @@ -13,7 +13,8 @@ shopt -s checkhash ################################################################################ # History settings -HISTCONTROL=ignoredups +# don't overwrite GNU Midnight Commander's setting of `ignorespace'. +HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups HISTFILE=${XDG_CACHE_HOME}/bash/history HISTTIMEFORMAT='[%Y-%m-%d %H:%M] ' HISTSIZE=5000 @@ -66,7 +67,7 @@ unset make_prompt ################################################################################ -# Load my alaises +# Load my aliases if [[ -f ${XDG_CONFIG_HOME}/bash/aliases.sh ]]; then . ${XDG_CONFIG_HOME}/bash/aliases.sh fi |