From 4b3b12db5b913ba3fc697ebfbc6a06514e77aa73 Mon Sep 17 00:00:00 2001 From: bretello Date: Tue, 8 Dec 2020 22:17:28 +0100 Subject: [PATCH] fix mkdir zsh cache fixup 8a8d061 --- brethil_dotfile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)