Even faster
This commit is contained in:
parent
7ec67fc7bc
commit
b96a0a0358
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue