1978a0923c864cacdc520adff83ed63f62c91073
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Revert PR #3359 as this is breaking stuff for many folks. Need to rethink how we handle system defaults differently on this
Diff
1diff --git a/lib/history.zsh b/lib/history.zsh
2index 179c22848728383a4311ffe2a750f4c4daa03804..e78a98e9e8da4e9a11d101dfa6fa1ffd7e9f9c32 100644
3--- a/lib/history.zsh
4+++ b/lib/history.zsh
5@@ -2,12 +2,9 @@
6 if [ -z "$HISTFILE" ]; then
7 HISTFILE=$HOME/.zsh_history
8 fi
9-if [ -z "$HISTSIZE" ]; then
10- HISTSIZE=10000
11-fi
12-if [ -z "$SAVEHIST" ]; then
13- SAVEHIST=10000
14-fi
15+
16+HISTSIZE=10000
17+SAVEHIST=10000
18
19 setopt extended_history
20 setopt hist_expire_dups_first