Modiefied hoistory settings for zsh
This commit is contained in:
parent
2b00f01a04
commit
ae9263c183
@ -1,17 +1,19 @@
|
|||||||
## Command history configuration
|
## Command history configuration
|
||||||
HISTFILE=$ZDOTDIR/history
|
HISTFILE=$ZDOTDIR/history
|
||||||
HISTSIZE=40000
|
HISTSIZE=1000000000
|
||||||
SAVEHIST=40000
|
SAVEHIST=1000000000
|
||||||
|
|
||||||
setopt append_history
|
export HISTTIMEFORMAT="[%F %T] "
|
||||||
setopt extended_history
|
setopt INC_APPEND_HISTORY
|
||||||
|
setopt EXTENDED_HISTORY
|
||||||
|
setopt HIST_FIND_NO_DUPS
|
||||||
setopt hist_ignore_dups
|
setopt hist_ignore_dups
|
||||||
setopt hist_verify
|
setopt hist_verify
|
||||||
setopt incappendhistory
|
setopt incappendhistory
|
||||||
setopt histignorespace
|
setopt histignorespace
|
||||||
setopt histnostore
|
setopt histnostore
|
||||||
setopt share_history
|
setopt share_history
|
||||||
HISTORY_IGNORE='([bf]g *|disown|cd ..|cd -)'
|
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
|
||||||
|
|
||||||
# Make up and down arrow take what’s typed on the commandline in to account.
|
# Make up and down arrow take what’s typed on the commandline in to account.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user