Created
March 17, 2014 02:44
-
-
Save skamithi/9593092 to your computer and use it in GitHub Desktop.
update all pathogen vim git repos
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
#!/bin/bash | |
for i in `ls $HOME/.vim/bundle`; do | |
echo "Update Git for $i" | |
if [ -d $i ]; then | |
cd "$i" | |
git pull | |
fi | |
cd $HOME/.vim/bundle | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment