mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] increase the size of the history file
This commit is contained in:
parent
d27aa86af0
commit
14db5e1902
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ setopt complete_in_word
|
||||||
# strangely enough, Zsh doesn't save command history by default
|
# strangely enough, Zsh doesn't save command history by default
|
||||||
HISTFILE="${HISTFILE:-$HOME/.zsh_history}"
|
HISTFILE="${HISTFILE:-$HOME/.zsh_history}"
|
||||||
# max number of entries stored in memory
|
# max number of entries stored in memory
|
||||||
HISTSIZE=50000
|
HISTSIZE=100000
|
||||||
# max number of entries in the HISTFILE
|
# max number of entries in the HISTFILE
|
||||||
SAVEHIST=10000
|
SAVEHIST=80000
|
||||||
# record timestamps in the history
|
# record timestamps in the history
|
||||||
setopt extended_history
|
setopt extended_history
|
||||||
# delete duplicates first when HISTFILE size exceeds HISTSIZE
|
# delete duplicates first when HISTFILE size exceeds HISTSIZE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue