summaryrefslogtreecommitdiff
path: root/update-plugins
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-12 21:00:46 -0800
committerzlg <zlg@zlg.space>2018-11-12 21:00:46 -0800
commit7e043911f5507e4492d5db83879977aa0f584b4a (patch)
treed0f6ea523a6eb2eaf0dc2341703c7a91cd443789 /update-plugins
parentupdate e-mail address in colors file (diff)
downloadvimrc-7e043911f5507e4492d5db83879977aa0f584b4a.tar.gz
vimrc-7e043911f5507e4492d5db83879977aa0f584b4a.tar.bz2
vimrc-7e043911f5507e4492d5db83879977aa0f584b4a.tar.xz
vimrc-7e043911f5507e4492d5db83879977aa0f584b4a.zip
switch to vim-plug, solarized colorscheme
Diffstat (limited to 'update-plugins')
-rwxr-xr-xupdate-plugins28
1 files changed, 0 insertions, 28 deletions
diff --git a/update-plugins b/update-plugins
deleted file mode 100755
index 856f85a..0000000
--- a/update-plugins
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# This is a simple front-end to vopher that will update all your plugins,
-# clean up plugins that aren't in PLUGIN_LIST, and prune all .zip files.
-# What more could you ask for from a wrapper?
-
-die() {
- echo "$1" && exit
-}
-
-PLUGIN_PATH="$HOME/projects/vimrc/bundle"
-PLUGIN_LIST="$HOME/projects/vimrc/vopher.list"
-_has_sparkup=$(grep -c sparkup ${PLUGIN_LIST})
-_tmp=$(pwd)
-if [ "$_has_sparkup" -a -d ./bundle/sparkup ]; then
- cd bundle/sparkup
- unlink doc
- unlink ftplugin
- cd "$_tmp"
-fi
-_cmd="vopher -f "$PLUGIN_LIST" -dir "$PLUGIN_PATH" -ui=simple"
-$_cmd -force update 2>vopher.log 1>/dev/null || die "Could not update! Consult vopher.log for details."
-$_cmd -force -all prune 2>>vopher.log 1>/dev/null || die "Could not prune! Consult vopher.log for details."
-if [ $_has_sparkup ]; then
- cd "${PLUGIN_PATH}/sparkup"
- make vim-pathogen --quiet
- cd "$_tmp"
-fi
-echo "Plugins successfully updated."