Browse Source

Use only erasedups in HISTCONTROL

Alois Mahdal 10 years ago
parent
commit
ff000e91e1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/bash/main.bashrc

+ 1
- 1
dotfiles/bash/main.bashrc View File

@@ -38,7 +38,7 @@ bcdiff() {
38 38
 ### BASH ###
39 39
 ### '''' ###
40 40
 
41
-export HISTCONTROL=$HISTCONTROL${HISTCONTROL:+:}ignoredups
41
+export HISTCONTROL=erasedups
42 42
 export HISTIGNORE=$HISTIGNORE:ls:ll:la:cd
43 43
 export HISTIGNORE="$HISTIGNORE:git dc:git st"
44 44
 export HISTIGNORE="$HISTIGNORE:se *:sc *"