Browse Source

Adapt for vim using powershell as shell in windows.

pull/942/head
Miguel Barro 5 years ago
parent
commit
b6bea88f2e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      autoload/vundle/installer.vim

+ 2
- 1
autoload/vundle/installer.vim View File

@ -278,7 +278,8 @@ endf
" ---------------------------------------------------------------------------
func! vundle#installer#delete(bang, dir_name) abort
let cmd = ((has('win32') || has('win64')) && empty(matchstr(&shell, 'sh'))) ?
let cmd = (&shell == 'pwsh') ? 'rm -Recurse -Force' :
\ ((has('win32') || has('win64')) && empty(matchstr(&shell, 'sh'))) ?
\ 'rmdir /S /Q' :
\ 'rm -rf'


Loading…
Cancel
Save