summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-12-15 08:11:04 -0800
committerRobby Russell <robby@planetargon.com>2014-12-15 08:11:04 -0800
commit1978a0923c864cacdc520adff83ed63f62c91073 (patch)
tree90c9906e76708984715742a882a137403282f27e /lib
parent0a96bb15779e8dad3586f77582f58e987b4c265a (diff)
downloadzsh-1978a0923c864cacdc520adff83ed63f62c91073.tar.gz
zsh-1978a0923c864cacdc520adff83ed63f62c91073.tar.bz2
zsh-1978a0923c864cacdc520adff83ed63f62c91073.zip
Revert PR #3359 as this is breaking stuff for many folks. Need to rethink how we handle system defaults differently on this
Diffstat (limited to 'lib')
-rw-r--r--lib/history.zsh9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/history.zsh b/lib/history.zsh
index 179c22848..e78a98e9e 100644
--- a/lib/history.zsh
+++ b/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