From 4e57fdd2f310f5d85ccf37ca2f661f2bde589735 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 22 Oct 2022 16:07:49 +0100 Subject: [PATCH] zsh: when using hist_expire_dups_first, HISTSIZE > SAVEHIST --- zsh/lib/history.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.48.1