I've reached the maximum 10K lines of commands in my
zsh history file, but I want to store more commands.
So I set this, in my
export HISTFILE="$HOME/.zsh_history" export HISTSIZE=1000000000 export SAVEHIST=1000000000 setopt EXTENDED_HISTORY
And I made sure to run
source ~/.zshrc after editing this file.
But when I
echo these variables, I get different results:
And when I close the terminal and open a new session, I can see that the number of commands in my history file is 10K:
How can I fix it so that I can store more than 10K commands in my
Also, when I run
wc -l < $HISTFILE, it gives me a number more than 10K:
What's going on?