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
 ### BASH ###
38
 ### BASH ###
39
 ### '''' ###
39
 ### '''' ###
40
 
40
 
41
-export HISTCONTROL=$HISTCONTROL${HISTCONTROL:+:}ignoredups
41
+export HISTCONTROL=erasedups
42
 export HISTIGNORE=$HISTIGNORE:ls:ll:la:cd
42
 export HISTIGNORE=$HISTIGNORE:ls:ll:la:cd
43
 export HISTIGNORE="$HISTIGNORE:git dc:git st"
43
 export HISTIGNORE="$HISTIGNORE:git dc:git st"
44
 export HISTIGNORE="$HISTIGNORE:se *:sc *"
44
 export HISTIGNORE="$HISTIGNORE:se *:sc *"