diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 803cc9d..f8b0deb 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -17,11 +17,9 @@ static_file="$ZDOTDIR/.zsh_plugins.zsh" # Clone antidote if necessary and generate a static plugin file if [[ ! $static_file -nt $plugins_txt ]]; then - [[ -e $antidote_dir ]] || - git clone --depth=1 https://github.com/mattmc3/antidote.git $antidote_dir + [[ -e $antidote_dir ]] || git clone --depth=1 https://github.com/mattmc3/antidote.git $antidote_dir ( source $antidote_dir/antidote.zsh - [[ -e $plugins_txt ]] || touch $plugins_txt antidote bundle <$plugins_txt >$static_file ) fi