]> git.rmz.io Git - dotfiles.git/commitdiff
zsh: when using hist_expire_dups_first, HISTSIZE > SAVEHIST
authorSamir Benmendil <me@rmz.io>
Sat, 22 Oct 2022 15:07:49 +0000 (16:07 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 22 Oct 2022 15:07:49 +0000 (16:07 +0100)
zsh/lib/history.zsh

index 3650bb79d0f55d7d7f45f8e93ab780383a5b24f8..c2c2441b12b1c32eeb2dcb5c322e33f99fb3724b 100644 (file)
@@ -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