summaryrefslogtreecommitdiff
path: root/bash/dot-bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/dot-bashrc')
-rw-r--r--bash/dot-bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/dot-bashrc b/bash/dot-bashrc
index 70448a2..b56bebb 100644
--- a/bash/dot-bashrc
+++ b/bash/dot-bashrc
@@ -36,7 +36,8 @@ export COLOR_DEFAULT="\[\033[0;39m\]"
export COLOR_WHITE=$COLOR_DEFAULT
# History length and control
-export HISTCONTROL=ignoreboth
+shopt -s histappend
+export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=1000
export HISTTIMEFORMAT="[%F %T] "