:BundleClean now lists Bundles before removal
This commit is contained in:
parent
f95998e5f1
commit
23d047b76f
@ -75,6 +75,9 @@ func! vundle#installer#clean(bang) abort
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
call vundle#scripts#view('clean', ['"Remove those bundles?'], map(copy(x_dirs), 'fnamemodify(v:val, ":t")'))
|
||||||
|
redraw!
|
||||||
|
|
||||||
if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles? [ y/n ]:') =~? 'y')
|
if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles? [ y/n ]:') =~? 'y')
|
||||||
let cmd = (has('win32') || has('win64')) ?
|
let cmd = (has('win32') || has('win64')) ?
|
||||||
\ 'rmdir /S /Q' :
|
\ 'rmdir /S /Q' :
|
||||||
|
Loading…
Reference in New Issue
Block a user