瀏覽代碼

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