helm/scripts/update

28 lines
503 B
Plaintext
Raw Normal View History

2015-05-20 19:53:37 -07:00
#!/bin/zsh
2015-06-19 14:37:38 -07:00
set -e
2015-05-20 19:53:37 -07:00
brew update && brew upgrade --all
cd "$HOME/.emacs.d" && git pull && make
cd "$HOME/.dotfiles" && git pull
local i
if [ -d ~/.rbenv ]; then
cd "$HOME/.rbenv" && git pull
for i in "$HOME"/.rbenv/plugins/*; do
cd "$i" && git pull
done
fi
if [ -d ~/.pyenv ]; then
cd "$HOME/.pyenv" && git pull
for i in "$HOME"/.pyenv/plugins/*; do
cd "$i" && git pull
done
fi
2015-06-19 14:37:38 -07:00
if [ -d ~/.zsh/zgen ]; then
source ~/.zsh/zgen/zgen.zsh
zgen selfupdate
2015-05-20 19:53:37 -07:00
fi