Mercurial > vim
changeset 2774:e8f012b00187 v7.3.163
updated for version 7.3.163
Problem: For the default of 'shellpipe' "mksh" and "pdksh" are not
recognized.
Solution: Recognize these shell names.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 28 Apr 2011 12:57:36 +0200 |
parents | df01e20e6be2 |
children | 8bc600c61a20 |
files | src/option.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -3846,6 +3846,8 @@ set_init_3() # ifndef OS2 /* Always use bourne shell style redirection if we reach this */ if ( fnamecmp(p, "sh") == 0 || fnamecmp(p, "ksh") == 0 + || fnamecmp(p, "mksh") == 0 + || fnamecmp(p, "pdksh") == 0 || fnamecmp(p, "zsh") == 0 || fnamecmp(p, "zsh-beta") == 0 || fnamecmp(p, "bash") == 0 @@ -3853,6 +3855,8 @@ set_init_3() || fnamecmp(p, "cmd") == 0 || fnamecmp(p, "sh.exe") == 0 || fnamecmp(p, "ksh.exe") == 0 + || fnamecmp(p, "mksh.exe") == 0 + || fnamecmp(p, "pdksh.exe") == 0 || fnamecmp(p, "zsh.exe") == 0 || fnamecmp(p, "zsh-beta.exe") == 0 || fnamecmp(p, "bash.exe") == 0