]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/lib/history.zsh
zsh: when using hist_expire_dups_first, HISTSIZE > SAVEHIST
[dotfiles.git] / zsh / lib / history.zsh
index 9fd3f3c7d1865c4974a84dd156c0487e83b60c20..c2c2441b12b1c32eeb2dcb5c322e33f99fb3724b 100644 (file)
@@ -1,7 +1,7 @@
 ## Command history configuration
-HISTFILE=$ZSH_CACHE/histfile
-HISTSIZE=10000
-SAVEHIST=10000
+HISTFILE=$ZSH_DATA/histfile
+HISTSIZE=120000  # should be larger than SAVEHIST, see HIST_EXPIRE_DUPS_FIRST in zshall(1)
+SAVEHIST=100000
 
 setopt extended_history
 setopt hist_expire_dups_first