Skip to content

Instantly share code, notes, and snippets.

@skamithi
Created March 17, 2014 02:44
Show Gist options
  • Save skamithi/9593092 to your computer and use it in GitHub Desktop.
Save skamithi/9593092 to your computer and use it in GitHub Desktop.
update all pathogen vim git repos
#!/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