Include PowerShell in check for win32 shell

Closes https://github.com/tpope/vim-fugitive/issues/435
This commit is contained in:
Tim Pope
2019-10-09 11:26:21 -04:00
parent 698065596c
commit ea818f1fab

View File

@@ -42,7 +42,7 @@ function! s:Uniq(list) abort
endfunction endfunction
function! s:winshell() abort function! s:winshell() abort
return has('win32') && &shellcmdflag !~# '^-' return has('win32') && &shellcmdflag =~# '^/\|^-Command$'
endfunction endfunction
function! s:shellesc(arg) abort function! s:shellesc(arg) abort