#!/bin/sh

# Updates all your vim bundles that were installed through git
# and live in ~/.vimbundles
# Free to use, modify, or however you want to use it
# No warranty is expressed or implied.
# Author: Rob Warner, 9/21/2010
# http://grailbox.com
# @hoop33
FILES=~/.vimbundles/*
for f in $FILES
do
  echo "Processing $f . . ."
  if cd $f; then
    echo "Running git pull"
    git pull origin master
  else
    echo "$f not a directory!"
  fi
done

