diff --git a/.zshrc b/.zshrc index bef007a..b000286 100644 --- a/.zshrc +++ b/.zshrc @@ -10,7 +10,7 @@ ZINIT_HOME="${HOME}/.config/zinit/zinit.git" ZSH_TMUX_AUTOSTART=true # Download ZINIT -if [ ! "$ZINIT_HOME/zinit.sh" ]; then +if [ ! -f "$ZINIT_HOME/zinit.sh" ]; then mkdir -p "$(dirname $ZINIT_HOME)" git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME" fi