1
0
forked from aniani/vim

patch 8.2.2839: default redirection missing "ash" and "dash"

Problem:    Default redirection missing "ash" and "dash".
Solution:   Recognize "ash" and "dash". (Natanael Copa, closes #8180)
This commit is contained in:
Natanael Copa
2021-05-06 18:46:35 +02:00
committed by Bram Moolenaar
parent e3e598e82b
commit 5631836975
3 changed files with 9 additions and 4 deletions

View File

@@ -910,7 +910,7 @@ set_init_3(void)
}
}
else
// Always use bourne shell style redirection if we reach this
// Always use POSIX shell style redirection if we reach this
if ( fnamecmp(p, "sh") == 0
|| fnamecmp(p, "ksh") == 0
|| fnamecmp(p, "mksh") == 0
@@ -919,6 +919,8 @@ set_init_3(void)
|| fnamecmp(p, "zsh-beta") == 0
|| fnamecmp(p, "bash") == 0
|| fnamecmp(p, "fish") == 0
|| fnamecmp(p, "ash") == 0
|| fnamecmp(p, "dash") == 0
# ifdef MSWIN
|| fnamecmp(p, "cmd") == 0
|| fnamecmp(p, "sh.exe") == 0
@@ -929,6 +931,7 @@ set_init_3(void)
|| fnamecmp(p, "zsh-beta.exe") == 0
|| fnamecmp(p, "bash.exe") == 0
|| fnamecmp(p, "cmd.exe") == 0
|| fnamecmp(p, "dash.exe") == 0
# endif
)
{

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2839,
/**/
2838,
/**/