Created
December 4, 2014 22:05
-
-
Save eeertekin/b1f3f4156b99195a6340 to your computer and use it in GitHub Desktop.
Add vim-pathogen bundle as git submodules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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