浏览代码

Use only erasedups in HISTCONTROL

Alois Mahdal 10 年前
父节点
当前提交
ff000e91e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      dotfiles/bash/main.bashrc

+ 1
- 1
dotfiles/bash/main.bashrc 查看文件

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 *"