浏览代码

Merge pull request #732 from ggustafsson/patch-1

Removed duplicate setting and sorted the remaining
Robby Russell 12 年之前
父节点
当前提交
d1b6423f2f
共有 1 个文件被更改,包括 5 次插入8 次删除
  1. 5 8
      lib/history.zsh

+ 5 - 8
lib/history.zsh

@@ -3,14 +3,11 @@ HISTFILE=$HOME/.zsh_history
 HISTSIZE=10000
 SAVEHIST=10000
 
-setopt hist_ignore_dups # ignore duplication command history list
-setopt share_history # share command history data
-
-setopt hist_verify
-setopt inc_append_history
+setopt append_history
 setopt extended_history
 setopt hist_expire_dups_first
+setopt hist_ignore_dups # ignore duplication command history list
 setopt hist_ignore_space
-
-setopt SHARE_HISTORY
-setopt APPEND_HISTORY
+setopt hist_verify
+setopt inc_append_history
+setopt share_history # share command history data