History options

This commit is contained in:
2025-04-25 18:17:53 -03:00
parent 72056fc85b
commit 03c2016471
2 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,9 @@ bindkey "^[[3~" delete-char
export HISTFILE="$XDG_STATE_HOME"/zsh/history
export HISTSIZE=10000
export SAVEHIST=10000
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt INC_APPEND_HISTORY_TIME
# Helpful tool: https://zsh-prompt-generator.site/