From 1978a0923c864cacdc520adff83ed63f62c91073 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Mon, 15 Dec 2014 08:11:04 -0800 Subject: [PATCH] Revert PR #3359 as this is breaking stuff for many folks. Need to rethink how we handle system defaults differently on this --- lib/history.zsh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/history.zsh b/lib/history.zsh index 179c2284..e78a98e9 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