diff options
author | Marc Cornellà <marc.cornella@live.com> | 2018-04-22 15:26:57 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-04-22 15:33:12 +0200 |
commit | 2589cdd8f9603d03f5b84aab57fda96ac0259f79 (patch) | |
tree | d9166b04f9046814c97c973c3a9c93338aba7720 /lib | |
parent | 9f2f22d953acc62a2a0ba5f08a746e47be3a6d4e (diff) | |
download | zsh-2589cdd8f9603d03f5b84aab57fda96ac0259f79.tar.gz zsh-2589cdd8f9603d03f5b84aab57fda96ac0259f79.tar.bz2 zsh-2589cdd8f9603d03f5b84aab57fda96ac0259f79.zip |
Increment HISTSIZE to fix hist_expire_dups_first
This fixes the old behavior which made it so all duplicates would be
deleted if the command history filled up with unique events.
> You should be sure to set the value of HISTSIZE to a larger number
> than SAVEHIST in order to give you some room for the duplicated
> events, otherwise this option will behave just like HIST_IGNORE_ALL_DUPS
> once the history fills up with unique events.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/history.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history.zsh b/lib/history.zsh index 8a1bc010d..7d4e59d00 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -28,7 +28,7 @@ esac ## History file configuration [ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" -HISTSIZE=10000 +HISTSIZE=50000 SAVEHIST=10000 ## History command configuration |