zsh: auto-create HISTFILE dir on startup
1 file changed, 1 insertion(+), 0 deletions(-)
jump to
M zsh/.config/zsh/.zshrc → zsh/.config/zsh/.zshrc
@@ -6,6 +6,7 @@ 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