scatterd-dotfiles/hooks/post-up
Derek Prior b4b9168b19
Remove unused plugins after rcup
Running `rcup` should remove any plugins that are no longer in use. For
instance, we recently replaced `rename.vim` with `eunuch`. `rcup`
installs the new plugin but does not clean up `rename` from the plugins
directory. The addition of `PluginClean!` does this (without
confirmation).
2014-10-01 09:37:30 -04:00

8 lines
231 B
Bash
Executable file

#!/bin/sh
touch $HOME/.psqlrc.local
if [ ! -e $HOME/.vim/bundle/Vundle.vim ]; then
git clone https://github.com/gmarik/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
fi
vim -u $HOME/.vimrc.bundles +PluginInstall +PluginClean! +qa