.zshrc: Increase history size

If I don't work on something for a few days it disappears from my
history, which is annoying when I try to search for commands using
Ctrl-R and then have to go look them up or write them from scratch
again.
This commit is contained in:
Alan Orth 2020-04-02 10:41:06 +03:00
parent 44f67af478
commit 04f3591d4f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

4
.zshrc
View File

@ -1,6 +1,6 @@
HISTFILE=~/.zsh_history HISTFILE=~/.zsh_history
HISTSIZE=2000 HISTSIZE=5000
SAVEHIST=2000 SAVEHIST=5000
setopt append_history # append setopt append_history # append
setopt hist_ignore_all_dups # no duplicate setopt hist_ignore_all_dups # no duplicate
setopt hist_ignore_space # ignore space prefixed commands setopt hist_ignore_space # ignore space prefixed commands