zsh: remove incompatible antidote option
This commit is contained in:
parent
69f05fc234
commit
29a9e7637d
|
@ -88,13 +88,13 @@ if command -v antidote > /dev/null; then
|
|||
# Update plugins every 10 days
|
||||
if [[ $(( ${_now} - ${_plugins_modified} - 60 * 60 * 24 * 10)) -gt 0 ]]; then
|
||||
print "\e[3;95mUpdating plugins…\e[0m"
|
||||
antidote update --parallelism=$(nproc --ignore=1) \
|
||||
antidote update \
|
||||
&& touch "${ZSH_PLUGIN_SOURCE}"
|
||||
fi
|
||||
else
|
||||
print "\e[3;95mInstalling plugins…\e[0m"
|
||||
mkdir -p "${plugin_cache_dir}"
|
||||
antidote bundle --parallelism=$(nproc --ignore=1) \
|
||||
antidote bundle \
|
||||
<<<$(print -l ${_my_plugins}) > "${ZSH_PLUGIN_SOURCE}"
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user