Windows: restore 'shell', 'shellcmdflags' defaults. #3256

- On Windows the default shell is cmd.exe and the shell flag is /c
- vim-patch:0
This commit is contained in:
Rui Abreu Ferreira 2015-05-12 20:45:33 +01:00 committed by Justin M. Keyes
parent a7ec1a5f50
commit 3901f59876

View File

@ -2000,7 +2000,11 @@ return {
vi_def=true, vi_def=true,
expand=true, expand=true,
varname='p_sh', varname='p_sh',
defaults={if_true={vi="sh"}} defaults={
condition='WIN32',
if_true={vi="cmd.exe"},
if_false={vi="sh"}
}
}, },
{ {
full_name='shellcmdflag', abbreviation='shcf', full_name='shellcmdflag', abbreviation='shcf',
@ -2008,7 +2012,11 @@ return {
secure=true, secure=true,
vi_def=true, vi_def=true,
varname='p_shcf', varname='p_shcf',
defaults={if_true={vi="-c"}} defaults={
condition='WIN32',
if_true={vi="/c"},
if_false={vi="-c"}
}
}, },
{ {
full_name='shellpipe', abbreviation='sp', full_name='shellpipe', abbreviation='sp',