diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2018-02-01 02:49:17 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2018-02-01 02:53:58 -0500 |
commit | f186a6efd30dda2f2b0d454d419b26d34a802e5a (patch) | |
tree | 67b1470bfadcce5c6afbf51e69cad58e925c31d9 /PlugInstall.sh | |
parent | 198a40c17d6ae1bc880e181d10eff68232665cfe (diff) |
Added info about vimPlugins to README.
Added License to start of vimPlugins scripts, and moved scripts to
their own folder for use with stow.
Diffstat (limited to 'PlugInstall.sh')
-rwxr-xr-x | PlugInstall.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/PlugInstall.sh b/PlugInstall.sh deleted file mode 100755 index 7d1c9d2..0000000 --- a/PlugInstall.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -if [ "$PWD" != "$HOME/dotfiles" ] -then - echo "Must be run in $HOME/dotfiles" - exit 1 -fi - - -PLUG_PATH="vim/.vim/pack/$USER/start/" -ARGS=0 -while getopts o opt; do - ((ARGS++)) - - if [ "$opt" == "o" ] - then - PLUG_PATH="vim/.vim/pack/$USER/opt/" - fi - if [ "$opt" == "h" ] - then - nroff .PlugHelp.tr - exit 0 - fi -done -((ARGS++)) -LINK="${!ARGS}" -PLUG_NAME=${LINK##*/} -FILENAME=${FILENAME%.git} -FILENAME="$PLUG_PATH$FILENAME" - -echo "Installing \"$PLUG_NAME\" into directory $PLUG_PATH" - - - -git submodule add $LINK $FILENAME && \ -git add .gitmodules $FILENAME && \ -git commit -m"Added vim plugin: $PLUG_NAME." && echo "Success" |