From ef1d871f5a1e6e7c9ac3731fed58de25d70110ca Mon Sep 17 00:00:00 2001 From: Bojun Ren Date: Thu, 6 Jun 2024 00:52:12 +0800 Subject: [PATCH] zsh(fix): set HISTFILE always --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 1a37809..1c2b77d 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -82,7 +82,7 @@ setopt interactivecomments setopt noflowcontrol # history -[[ -z "$HISTFILE" ]] && export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history" +export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history" export HISTSIZE=1000000 export SAVEHIST=1000000 export HISTORY_IGNORE="(*${USER}*)"