diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index bf80df6..6ec3f6f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -40,7 +40,7 @@ function! s:Uniq(list) abort endfunction function! s:winshell() abort - return exists('+shellslash') && !&shellslash && &shellcmdflag !~# '^-' + return has('win32') && &shellcmdflag !~# '^-' endfunction function! s:shellesc(arg) abort