diff options
-rw-r--r-- | zsh/.config/zsh/.zshrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index e8458f8..18f04a9 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -6,6 +6,7 @@ autoload -Uz _zplugin HISTSIZE=10000 SAVEHIST=20000 HISTFILE=${XDG_CACHE_HOME:=$HOME/.cache}/zsh/history +[[ -d ${HISTFILE:h} ]] || mkdir -p ${HISTFILE:h} setopt extended_history setopt hist_save_no_dups setopt hist_ignore_space |