1
0
Fork 0

Init submodules when using zprezto-update (#1713)

pull/1283/head
Wouter Overmeire 5 years ago committed by Kaleb Elwert
parent 55eb406515
commit 1bc0da5f48

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

Loading…
Cancel
Save