diff --git a/lib/history.zsh b/lib/history.zsh index 5de71c2d3..b8d140499 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -1,10 +1,7 @@ ## Command history configuration -if [ -z "$HISTFILE" ]; then - HISTFILE=$HOME/.zsh_history -fi - -HISTSIZE=10000 -SAVEHIST=10000 +env_default HISTFILE "$HOME/.zsh_history" +env_default HISTSIZE 10000 +env_default SAVEHIST 10000 # Show history case $HIST_STAMPS in