diff --git a/lib/history.zsh b/lib/history.zsh index 7d4e59d00..f24510eed 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -28,8 +28,8 @@ esac ## History file configuration [ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" -HISTSIZE=50000 -SAVEHIST=10000 +[ -z "$HISTSIZE" ] && HISTSIZE=50000 +[ -z "$SAVEHIST" ] && SAVEHIST=10000 ## History command configuration setopt extended_history # record timestamp of command in HISTFILE