update submodules recursively
This commit is contained in:
parent
2c73f54b2a
commit
6967a58253
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ cd $OMZ_HOME
|
||||||
zstyle -t ':omz:function:update-omz' auto-commit || local nocommit='--no-commit'
|
zstyle -t ':omz:function:update-omz' auto-commit || local nocommit='--no-commit'
|
||||||
zstyle -t ':omz:function:update-omz' upstream '_upstream'
|
zstyle -t ':omz:function:update-omz' upstream '_upstream'
|
||||||
|
|
||||||
if git pull --rebase $nocommit --strategy=recursive -X ours ${_upstream:-origin} master; then
|
if git pull --rebase $nocommit --strategy=recursive -X ours ${_upstream:-origin} master && git submodule update --recursive; then
|
||||||
zstyle -t ':omz:function:update-omz' color && printf "$FG[blue]"
|
zstyle -t ':omz:function:update-omz' color && printf "$FG[blue]"
|
||||||
printf 'Hooray! oh-my-zsh is up-to-date :)\n'
|
printf 'Hooray! oh-my-zsh is up-to-date :)\n'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue