aboutsummaryrefslogtreecommitdiff
path: root/PlugUpdate.sh
blob: 165219a4478b37454856dc88fa2c69f5878d415b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
if [ "$PWD" != "$HOME/dotfiles" ]
then
	echo "Must be run in $HOME/dotfiles"
	exit 1
fi


while getopts o opt; do
	if [ "$opt" == "h" ]
	then
		nroff .PlugHelp.tr
		exit 0
	fi
done

git submodule update --remote --merge && \
git commit -m"Updated vim plugins." && echo "Success"