mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Init submodules when using zprezto-update (#1713)
This commit is contained in:
parent
55eb406515
commit
1bc0da5f48
2
init.zsh
2
init.zsh
@ -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…
Reference in New Issue
Block a user