From 750db5e5b95525103f4545f8f5067d77a2ed01e8 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 22 Jun 2014 13:30:41 -0400 Subject: [PATCH] Always treat cmd.exe as Windows Closes #506. --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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