add: Update the support of git submodules. Including install instrument, installation tool and upgrade tool.

This commit is contained in:
ys 2013-04-24 12:52:09 +08:00
commit 5808761dc8
3 changed files with 9 additions and 3 deletions

View file

@ -3,7 +3,7 @@ current_path=${current_path/ /\\ }
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd "$ZSH"
if git pull origin master
if git pull origin master && git submodule foreach git pull
then
printf '\033[0;32m%s\033[0m\n' ' __ __ '
printf '\033[0;32m%s\033[0m\n' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '