zconfig/update_antidote.sh

13 lines
354 B
Bash
Raw Normal View History

2022-10-06 16:35:12 +02:00
#!/usr/bin/env zsh
# clone antidote if necessary
[[ -e ~/.antidote ]] || git clone https://github.com/mattmc3/antidote.git ~/.antidote
# source antidote
. ~/.antidote/antidote.zsh
# generate static plugins
antidote bundle < antidote.plugins.txt > antidote.plugins.zsh
[[ -f ~/.zsh_plugins.zsh ]] || ln -s $PWD/antidote.plugins.zsh ~/.zsh_plugins.zsh