Created
July 8, 2014 13:54
-
-
Save davydovanton/dfd90a973e0a73347404 to your computer and use it in GitHub Desktop.
Convert pathogen plugins to vundle
This file contains 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
for i in */.; do | |
cd $i | |
repo=$(git remote show origin | grep 'Fetch URL:') | |
re="Fetch URL: https://github.com/(.+)" | |
if [[ $repo =~ $re ]]; then | |
var="$var\nPlugin '${BASH_REMATCH[1]}'" | |
fi | |
cd - | |
done | |
echo -e "$var" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment