mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
add: Update the support of git submodules. Including install instrument, installation tool and upgrade tool.
This commit is contained in:
parent
035015ed56
commit
5808761dc8
3 changed files with 9 additions and 3 deletions
|
|
@ -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' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue