瀏覽代碼

Fortify HISTIGNORE against filename expansion

Alois Mahdal 10 年之前
父節點
當前提交
a0b9083ec0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      dotfiles/bash/main.bashrc

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

39
 ### '''' ###
39
 ### '''' ###
40
 
40
 
41
 export HISTCONTROL=erasedups
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 *"
45
 export HISTSIZE=-1
45
 export HISTSIZE=-1
46
 export HISTFILESIZE=100000
46
 export HISTFILESIZE=100000
47
 export GLOBIGNORE=.:..
47
 export GLOBIGNORE=.:..