Commit 2589cdd8 authored by Marc Cornellà's avatar Marc Cornellà

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.
parent 9f2f22d9
...@@ -28,7 +28,7 @@ esac ...@@ -28,7 +28,7 @@ esac
## History file configuration ## History file configuration
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" [ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000 HISTSIZE=50000
SAVEHIST=10000 SAVEHIST=10000
## History command configuration ## History command configuration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment