diff --git a/README.md b/README.md index ecce7dd..b5fde17 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ To pull the latest changes and update submodules manually: ```console cd $ZPREZTODIR git pull +git submodule sync --recursive git submodule update --init --recursive ``` diff --git a/init.zsh b/init.zsh index 08bd3ab..5d7996a 100644 --- a/init.zsh +++ b/init.zsh @@ -44,6 +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 sync --recursive git submodule update --init --recursive return $? else