diff --git a/default/.config/zsh/init.zsh b/default/.config/zsh/init.zsh index 242e7c2..d70adb6 100644 --- a/default/.config/zsh/init.zsh +++ b/default/.config/zsh/init.zsh @@ -1,7 +1,7 @@ # first, run this from an interactive zsh terminal session: -if [[ -e "${ZDOTDIR}/.antidote" && ! -d "${ZDOTDIR}/.antidote" ]]; then +if [[ ! -d "${ZDOTDIR}/.antidote" ]]; then mkdir -p "${ZDOTDIR}/.antidote" && chmod 700 "${ZDOTDIR}/.antidote" - git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR}/.antidote + git clone --depth=1 https://github.com/mattmc3/antidote.git "${ZDOTDIR}/.antidote" fi zsh_plugins=${ZDOTDIR}/.zsh_plugins