diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 84c3b108a8..770a02832f 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -27,7 +27,7 @@ function! s:gsub(str,pat,rep) abort endfunction function! s:winshell() abort - return exists('+shellslash') && !&shellslash + return &shell =~? 'cmd' || exists('+shellslash') && !&shellslash endfunction function! s:shellesc(arg) abort