Last active
March 3, 2017 11:13
-
-
Save cahna/9908545 to your computer and use it in GitHub Desktop.
manage installed pathogen plugins as git submodules within dofiles repo
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
# cd into your dotfiles repo and run this to add all of your | |
# installed pathogen plugins as submodules of your dotfiles repo: | |
ls ~/.vim/bundle \ | |
| xargs -I% echo "grep -m1 -oP 'https[^\ ]+' <(cd ~/.vim/bundle/% && git remote -v show)" \ | |
| bash \ | |
| xargs -n1 git submodule add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment