mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Include PowerShell in check for win32 shell
Closes https://github.com/tpope/vim-fugitive/issues/435
This commit is contained in:
@@ -42,7 +42,7 @@ function! s:Uniq(list) abort
|
||||
endfunction
|
||||
|
||||
function! s:winshell() abort
|
||||
return has('win32') && &shellcmdflag !~# '^-'
|
||||
return has('win32') && &shellcmdflag =~# '^/\|^-Command$'
|
||||
endfunction
|
||||
|
||||
function! s:shellesc(arg) abort
|
||||
|
||||
Reference in New Issue
Block a user