Skip to content

Instantly share code, notes, and snippets.

@IvanTorresEdge
Created December 29, 2011 11:17
Show Gist options
  • Save IvanTorresEdge/1533595 to your computer and use it in GitHub Desktop.
Save IvanTorresEdge/1533595 to your computer and use it in GitHub Desktop.
Update Vim bundles
sh update-bundles.sh
#/usr/bin/env sh
dir=`pwd`
for f in `find $dir -d 1 -type d -not -name '.*'`
do
echo "Updating $f"
cd $f
git co master && git fetch && git pull origin master
cd $dir
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment