ZSH: Restructured history settings
This commit is contained in:
parent
a768bf308f
commit
360e82abe9
@ -1,7 +1,8 @@
|
|||||||
## Command history configuration
|
## Command history configuration
|
||||||
HISTFILE="${ZCACHE}/history"
|
export HISTFILE="${ZCACHE}/history"
|
||||||
HISTSIZE=1000000000
|
export HISTSIZE=1000000000
|
||||||
SAVEHIST=1000000000
|
export SAVEHIST=${HISTSIZE}
|
||||||
|
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
|
||||||
|
|
||||||
export HISTTIMEFORMAT="[%F %T] "
|
export HISTTIMEFORMAT="[%F %T] "
|
||||||
setopt INC_APPEND_HISTORY
|
setopt INC_APPEND_HISTORY
|
||||||
@ -12,5 +13,4 @@ setopt hist_verify
|
|||||||
setopt incappendhistory
|
setopt incappendhistory
|
||||||
setopt histignorespace
|
setopt histignorespace
|
||||||
setopt histnostore
|
setopt histnostore
|
||||||
setopt share_history
|
setopt share_history
|
||||||
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
|
|
Loading…
Reference in New Issue
Block a user