mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 00:09:10 +01:00
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.
This commit is contained in:
parent
9f2f22d953
commit
2589cdd8f9
@ -28,7 +28,7 @@ esac
|
||||
|
||||
## History file configuration
|
||||
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history"
|
||||
HISTSIZE=10000
|
||||
HISTSIZE=50000
|
||||
SAVEHIST=10000
|
||||
|
||||
## History command configuration
|
||||
|
Loading…
Reference in New Issue
Block a user