From 04f15724e272bb1456442c0b0633321bdf3b8ba0 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Wed, 2 Oct 2019 09:52:29 -0600 Subject: [PATCH] Added plugin rebuilder bash script for vim plugins --- vim/rebuild_plugins | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 vim/rebuild_plugins diff --git a/vim/rebuild_plugins b/vim/rebuild_plugins new file mode 100755 index 0000000..e159fcf --- /dev/null +++ b/vim/rebuild_plugins @@ -0,0 +1,13 @@ +#!/bin/bash + +function updateCommandT() { + local COMMAND_T_DIR="$HOME/.vim/bundle/command-t/ruby/command-t/ext/command-t"; + [ ! -d $COMMAND_T_DIR ] && echo "Unable to locate command t build files" && exit 1; + + cd $COMMAND_T_DIR; + pwd; + ruby extconf.rb; + make; +} + +updateCommandT;