#!/bin/bash # adds a new vim plugin from a git repository if [ $# -ne 2 ] then echo "Usage: `basename $0` " exit 65 fi cd $(dirname $0)/.. git submodule add $1 $(dirname $0)/vim/vim/bundle/$2 git submodule init git submodule update --rebase