Fix update_antidote

This commit is contained in:
Blallo 2023-05-08 23:55:41 +02:00
parent 03b7e4a6a9
commit c80e99245a
No known key found for this signature in database
GPG key ID: C530464EEDCF489A

View file

@ -1,7 +1,13 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
! [[ -z $DEBUG ]] && set -x
# clone antidote if necessary # clone antidote if necessary
[[ -e ~/.antidote ]] || git clone https://github.com/mattmc3/antidote.git ~/.antidote if [[ -d ~/.antidote ]]; then
git -C ~/.antidote pull
else
git clone https://github.com/mattmc3/antidote.git ~/.antidote
fi
# source antidote # source antidote
. ~/.antidote/antidote.zsh . ~/.antidote/antidote.zsh