helm/bin/update
2015-06-19 23:37:38 +02:00

28 lines
503 B
Bash
Executable file

#!/bin/zsh
set -e
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
if [ -d ~/.zsh/zgen ]; then
source ~/.zsh/zgen/zgen.zsh
zgen selfupdate
fi