create zsh state folder if not exists

This commit is contained in:
Joel Beckmeyer 2023-07-25 10:04:30 -04:00
parent 65808aed66
commit 4be3b48cd9

View File

@ -4,6 +4,7 @@
# #
# Lines configured by zsh-newuser-install # Lines configured by zsh-newuser-install
export HISTFILE="$XDG_STATE_HOME"/zsh/history export HISTFILE="$XDG_STATE_HOME"/zsh/history
mkdir -p "$(dirname $HISTFILE)"
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=1000
setopt autocd setopt autocd