aboutsummaryrefslogtreecommitdiff
path: root/PlugRemove.sh
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2018-02-01 02:49:17 -0500
committerTucker Evans <tuckerevans24@gmail.com>2018-02-01 02:53:58 -0500
commitf186a6efd30dda2f2b0d454d419b26d34a802e5a (patch)
tree67b1470bfadcce5c6afbf51e69cad58e925c31d9 /PlugRemove.sh
parent198a40c17d6ae1bc880e181d10eff68232665cfe (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 'PlugRemove.sh')
-rwxr-xr-xPlugRemove.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/PlugRemove.sh b/PlugRemove.sh
deleted file mode 100755
index e8e0343..0000000
--- a/PlugRemove.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-#!/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++))
-NAME="${!ARGS}"
-FILENAME="$PLUG_PATH$NAME"
-
-git submodule deinit -f $FILENAME
-echo
-git rm -f $FILENAME
-echo
-rm -rfv ".git/modules/$FILENAME"
-
-git commit -m"Removed vim plugin: $NAME"