Update oh-my-zsh if it exists

This commit is contained in:
Henrik Lissner 2013-03-22 21:07:17 -04:00
parent 2a1595bd6c
commit 2b2642c3d8

View file

@ -10,6 +10,10 @@ if [ ! -d ~/.oh-my-zsh ]; then
# Set new shell # Set new shell
echo-g "==> ZSH: Changing shell" echo-g "==> ZSH: Changing shell"
chsh -s /bin/zsh chsh -s /bin/zsh
else
echo-g "==> ZSH: Updating"
cd ~/.oh-my-zsh
git pull
fi fi
# Create links # Create links