From c50b9a24f1d80cf38f5f299ab02b5c9409faa7c8 Mon Sep 17 00:00:00 2001 From: bertabus Date: Thu, 11 Apr 2013 14:56:22 -0600 Subject: [PATCH] Added Vundle clean to remove bundles removed from vimrc --- plugins/vundle/vundle.plugin.zsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/vundle/vundle.plugin.zsh b/plugins/vundle/vundle.plugin.zsh index 005a58476..936c8d7d2 100644 --- a/plugins/vundle/vundle.plugin.zsh +++ b/plugins/vundle/vundle.plugin.zsh @@ -16,8 +16,12 @@ function vundle () { vim -c "execute \"BundleInstall\" | q | q" } - function vundle-update () { vundle-init vim -c "execute \"BundleInstall!\" | q | q" } + +function vundle-clean () { + vundle-init + vim -c "execute \"BundleClean!\" | q | q" +}