Browse Source

:BundleClean now lists Bundles before removal

pull/73/head
gmarik 15 years ago
parent
commit
23d047b76f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      autoload/vundle/installer.vim

+ 3
- 0
autoload/vundle/installer.vim View File

@ -75,6 +75,9 @@ func! vundle#installer#clean(bang) abort
return
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')
let cmd = (has('win32') || has('win64')) ?
\ 'rmdir /S /Q' :


Loading…
Cancel
Save