diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 3709bca..cc76d22 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -9,7 +9,7 @@ export VIRTUAL_ENV_DISABLE_PROMPT=true _ZSH_CACHE="${HOME}/.cache/zsh" -if [[ ! -d "${HOME}/.cache/zsh" ]]; then mkdir "${HOME}/.cache/zsh"; fi +if [[ ! -d "${_ZSH_CACHE}" ]]; then mkdir -p "${_ZSH_CACHE}"; fi # Source all zsh plugins source <(antibody init)