Tweak zsh history options
This commit is contained in:
parent
0882e7afa3
commit
49fe3cf413
1 changed files with 4 additions and 1 deletions
5
zshrc
5
zshrc
|
@ -1,10 +1,13 @@
|
||||||
export SAVEHIST=10
|
|
||||||
export HISTFILE=$HOME/.zsh_history
|
export HISTFILE=$HOME/.zsh_history
|
||||||
|
export SAVEHIST=10000
|
||||||
export HISTFILESIZE=10000
|
export HISTFILESIZE=10000
|
||||||
export HSITSIZE=10000
|
export HSITSIZE=10000
|
||||||
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
|
setopt append_history
|
||||||
|
setopt hist_find_no_dups
|
||||||
|
# setopt hist_ignore_dups
|
||||||
setopt inc_append_history
|
setopt inc_append_history
|
||||||
setopt extended_history
|
setopt extended_history
|
||||||
setopt hist_find_no_dups
|
setopt hist_find_no_dups
|
||||||
|
|
Loading…
Reference in a new issue