mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Use 'shellslash' to detect Windows shell
This commit is contained in:
@@ -27,7 +27,7 @@ function! s:gsub(str,pat,rep) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:winshell() abort
|
function! s:winshell() abort
|
||||||
return &shell =~# 'cmd' || &shell =~# 'power'
|
return exists('+shellslash') && !&shellslash
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:shellesc(arg) abort
|
function! s:shellesc(arg) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user