blob: 58d26b3dfca392764fa898ce9226be732acdce75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash -x
# adds a new vim plugin from a git repository
if [ $# -ne 2 ]
then
echo "Usage: `basename $0` <plugin-url> <plugin-name>"
exit 65
fi
cd $(dirname $0)/..
git submodule add $1 $(dirname $0)/vim/.vim/bundle/$2
git submodule init
git submodule update
|