feat(zsh): More history configuration

I might also move the history file to `$XDG_CACHE_HOME` or something.
This commit is contained in:
histalek 2024-12-03 09:43:17 +01:00
parent 4b6037b149
commit 89793b1a20
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE

4
.zshrc
View file

@ -10,6 +10,10 @@ setopt nobeep # No beep
setopt appendhistory # Immediately append history instead of overwriting
setopt inc_append_history
setopt histignorealldups # If a new command is a duplicate, remove the older one
setopt share_history
setopt hist_expire_dups_first
setopt hist_ignore_dups
setopt hist_verify
setopt autocd # if only directory path is entered, cd there.
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion