@@ -2,7 +2,8 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
-git submodule foreach git pull origin master
+git submodule update --init --recursive
+git submodule foreach --recursive git pull origin master
read -p "Auto compile YouCompleteMe? [y/N] " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
@@ -38,7 +38,8 @@ for i in $(ls "$DIR"); do
fi
done
ln -fsn "$DIR"/vim/pathogen/autoload "$DIR"/vim/
mkdir -p "$DIR"/vim/tmp/{backup,swap,undo}