Fix update_antidote
This commit is contained in:
parent
03b7e4a6a9
commit
c80e99245a
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue