浏览代码

Revert PR #3359 as this is breaking stuff for many folks. Need to rethink how we handle system defaults differently on this

Robby Russell 9 年之前
父节点
当前提交
1978a0923c
共有 1 个文件被更改,包括 3 次插入6 次删除
  1. 3 6
      lib/history.zsh

+ 3 - 6
lib/history.zsh

@@ -2,12 +2,9 @@
 if [ -z "$HISTFILE" ]; then
     HISTFILE=$HOME/.zsh_history
 fi
-if [ -z "$HISTSIZE" ]; then
-    HISTSIZE=10000
-fi
-if [ -z "$SAVEHIST" ]; then
-    SAVEHIST=10000
-fi
+
+HISTSIZE=10000
+SAVEHIST=10000
 
 setopt extended_history
 setopt hist_expire_dups_first