From 49e9739c46fe2ab1aba7298e45787468bc05e9dd Mon Sep 17 00:00:00 2001 From: Marwan Al Jubeh Date: Tue, 12 Aug 2014 00:18:51 +0300 Subject: [PATCH] Fix bug in deleting plugins --- autoload/vundle/installer.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index db25980..77c114b 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -307,12 +307,10 @@ func! vundle#installer#delete(bang, dir_name) abort \ ] let cmd = join(cmd_parts, ' && ') let cmd = vundle#installer#shellesc_cd(cmd) - let cmd .= ' &&' + else + let cmd .= vundle#installer#shell_rmdir(bundle.path()) endif - let bundle = vundle#config#init_bundle(a:dir_name, {}) - let cmd .= vundle#installer#shell_rmdir(bundle.path()) - let out = s:system(cmd) call s:log('')