Skip to content

Instantly share code, notes, and snippets.

@eeertekin
Created December 4, 2014 22:05
Show Gist options
  • Save eeertekin/b1f3f4156b99195a6340 to your computer and use it in GitHub Desktop.
Save eeertekin/b1f3f4156b99195a6340 to your computer and use it in GitHub Desktop.
Add vim-pathogen bundle as git submodules
#
# Add vim-pathogen bundle as git submodules
#
for plugin in `ls bundle`; do
URL=`grep -A 1 origin bundle/$plugin/.git/config | grep "url =" | awk '{print $3}'`
git submodule add $URL bundle/$plugin ;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment