update script: switch to zgen
This commit is contained in:
parent
463ec25767
commit
fc2ade6255
10
bin/update
10
bin/update
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
brew update && brew upgrade --all
|
brew update && brew upgrade --all
|
||||||
cd "$HOME/.emacs.d" && git pull && make
|
cd "$HOME/.emacs.d" && git pull && make
|
||||||
cd "$HOME/.dotfiles" && git pull
|
cd "$HOME/.dotfiles" && git pull
|
||||||
|
@ -19,9 +21,7 @@ if [ -d ~/.pyenv ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d ~/.zprezto ]; then
|
if [ -d ~/.zsh/zgen ]; then
|
||||||
cd "$HOME/.zprezto"
|
source ~/.zsh/zgen/zgen.zsh
|
||||||
git fetch parent
|
zgen selfupdate
|
||||||
git submodule foreach git checkout master
|
|
||||||
git submodule foreach git pull
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue