ZSH: Restructured history settings
This commit is contained in:
parent
a768bf308f
commit
360e82abe9
@ -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
|
Loading…
Reference in New Issue
Block a user