From 00a8302be1f164a1d344eb2c175aaa5b4c8b38d5 Mon Sep 17 00:00:00 2001 From: afranco Date: Sat, 7 Sep 2024 00:30:22 +0100 Subject: [PATCH] chore(zsh): Added HISTFILE to .zshrc (was in /etc/zshrc) --- .config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 95f71c3..cf6436f 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -15,6 +15,7 @@ export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH" export PATH="/opt/homebrew/opt/texlive/bin:$PATH" # Setup History +HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history HISTSIZE=100000000 SAVEHIST=100000000 setopt BANG_HIST # Treat the '!' character specially during expansion.