Skip to content

Commit

Permalink
Always treat cmd.exe as Windows
Browse files Browse the repository at this point in the history
Closes #506.
  • Loading branch information
tpope committed Jun 22, 2014
1 parent ffd8c0a commit 750db5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fugitive.vim
Expand Up @@ -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
Expand Down

0 comments on commit 750db5e

Please sign in to comment.