From 9e7af4fefe25d4b16b894e42406886f97705e9a9 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Thu, 18 Jan 2018 02:10:38 -0500 Subject: Created scripts to automate vim plugins management All scripts commit the changes. --- PlugUpdate.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 PlugUpdate.sh (limited to 'PlugUpdate.sh') diff --git a/PlugUpdate.sh b/PlugUpdate.sh new file mode 100755 index 0000000..165219a --- /dev/null +++ b/PlugUpdate.sh @@ -0,0 +1,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" -- cgit v1.1