#!/usr/bin/env zsh echo "=> Updating antidote" ! [[ -z $DEBUG ]] && set -x # clone antidote if necessary if [[ -d ~/.antidote ]]; then git -C ~/.antidote pull else git clone https://github.com/mattmc3/antidote.git ~/.antidote fi # 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