From: Samir Benmendil Date: Sat, 22 Oct 2022 15:07:49 +0000 (+0100) Subject: zsh: when using hist_expire_dups_first, HISTSIZE > SAVEHIST X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/4e57fdd2f310f5d85ccf37ca2f661f2bde589735 zsh: when using hist_expire_dups_first, HISTSIZE > SAVEHIST --- diff --git a/zsh/lib/history.zsh b/zsh/lib/history.zsh index 3650bb7..c2c2441 100644 --- a/zsh/lib/history.zsh +++ b/zsh/lib/history.zsh @@ -1,6 +1,6 @@ ## Command history configuration HISTFILE=$ZSH_DATA/histfile -HISTSIZE=100000 +HISTSIZE=120000 # should be larger than SAVEHIST, see HIST_EXPIRE_DUPS_FIRST in zshall(1) SAVEHIST=100000 setopt extended_history