feat(zsh): harden history setup

This commit is contained in:
2026-03-20 14:42:38 +01:00
parent 91d93955ab
commit 8d35c32782

View File

@@ -8,6 +8,7 @@ setopt EXTENDED_GLOB # enable extended glob operators (#, ~, ^)
# history
HISTFILE="$XDG_STATE_HOME/zsh/history"
mkdir -p "${HISTFILE:h}"
HISTSIZE=10000
SAVEHIST=10000
setopt HIST_IGNORE_DUPS # skip consecutive duplicates