diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 1dc07e8..b53edfc 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 &shell =~# 'cmd' || &shell =~# 'power' + return exists('+shellslash') && !&shellslash endfunction function! s:shellesc(arg) abort