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:
committed by
Bram Moolenaar
parent
e3e598e82b
commit
5631836975
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2839,
|
||||
/**/
|
||||
2838,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user