1
0
Fork 0

zsh: remove incompatible antidote option

This commit is contained in:
tastytea 2024-04-18 21:30:10 +02:00
parent 69f05fc234
commit 29a9e7637d
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 2 deletions

View File

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