aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 7eb08bb..80f68eb 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -30,7 +30,6 @@ setopt COMPLETE_ALIASES
# History
export HISTSIZE=1000
export SAVEHIST=1000
-export HISTFILE=~/.zsh_history
setopt INC_APPEND_HISTORY
setopt HIST_IGNORE_DUPS
@@ -43,3 +42,4 @@ source ~/.profile
setopt AUTO_CD
export HISTFILE="$XDG_CACHE_HOME"/zsh/history
+mkdir -p $(dirname $HISTFILE)