.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:
parent
44f67af478
commit
04f3591d4f
4
.zshrc
4
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user