[zsh] Added HISTFILE to .zshrc (was in /etc/zshrc)

This commit is contained in:
Afonso Franco 2024-09-07 00:30:22 +01:00
parent a82825d92c
commit 293306443b
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -15,6 +15,7 @@ export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"
export PATH="/opt/homebrew/opt/texlive/bin:$PATH" export PATH="/opt/homebrew/opt/texlive/bin:$PATH"
# Setup History # Setup History
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
HISTSIZE=100000000 HISTSIZE=100000000
SAVEHIST=100000000 SAVEHIST=100000000
setopt BANG_HIST # Treat the '!' character specially during expansion. setopt BANG_HIST # Treat the '!' character specially during expansion.