Init submodules when using zprezto-update (#1713)

This commit is contained in:
Wouter Overmeire 2019-10-14 16:27:01 +02:00 committed by Kaleb Elwert
parent 55eb406515
commit 1bc0da5f48

View file

@ -44,7 +44,7 @@ function zprezto-update {
printf "There is an update available. Trying to pull.\n\n"
if git pull --ff-only; then
printf "Syncing submodules\n"
git submodule update --recursive
git submodule update --init --recursive
return $?
else
cannot-fast-forward