ZSH: Restructured history settings

This commit is contained in:
Christian Baer 2024-10-28 22:28:10 +01:00
parent a768bf308f
commit 360e82abe9

View File

@ -1,7 +1,8 @@
## Command history configuration
HISTFILE="${ZCACHE}/history"
HISTSIZE=1000000000
SAVEHIST=1000000000
export HISTFILE="${ZCACHE}/history"
export HISTSIZE=1000000000
export SAVEHIST=${HISTSIZE}
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
export HISTTIMEFORMAT="[%F %T] "
setopt INC_APPEND_HISTORY
@ -12,5 +13,4 @@ setopt hist_verify
setopt incappendhistory
setopt histignorespace
setopt histnostore
setopt share_history
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
setopt share_history