Even faster

This commit is contained in:
Sam A. 2022-09-18 21:57:18 +02:00
parent 7ec67fc7bc
commit b96a0a0358
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 1 additions and 3 deletions

View File

@ -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