diff --git a/dots/.config/zsh/config/profile/profile/options.zsh b/dots/.config/zsh/config/profile/profile/options.zsh index 0925d571..964b0148 100644 --- a/dots/.config/zsh/config/profile/profile/options.zsh +++ b/dots/.config/zsh/config/profile/profile/options.zsh @@ -2,7 +2,7 @@ export SAVEHIST=10000 export HISTSIZE=10000 -export HISTFILE="${HOME}/.zsh_history" +export HISTFILE="${XDG_CACHE_HOME:-"$HOME"}/zsh_history" setopt INC_APPEND_HISTORY setopt SHARE_HISTORY setopt EXTENDED_HISTORY