Update oh-my-zsh if it exists
This commit is contained in:
parent
2a1595bd6c
commit
2b2642c3d8
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue