Mercurial > vim
comparison src/option.c @ 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 | 0d201adaf9c5 |
children | 5ddb68c2a845 |
comparison
equal
deleted
inserted
replaced
2773:df01e20e6be2 | 2774:e8f012b00187 |
---|---|
3844 } | 3844 } |
3845 else | 3845 else |
3846 # ifndef OS2 /* Always use bourne shell style redirection if we reach this */ | 3846 # ifndef OS2 /* Always use bourne shell style redirection if we reach this */ |
3847 if ( fnamecmp(p, "sh") == 0 | 3847 if ( fnamecmp(p, "sh") == 0 |
3848 || fnamecmp(p, "ksh") == 0 | 3848 || fnamecmp(p, "ksh") == 0 |
3849 || fnamecmp(p, "mksh") == 0 | |
3850 || fnamecmp(p, "pdksh") == 0 | |
3849 || fnamecmp(p, "zsh") == 0 | 3851 || fnamecmp(p, "zsh") == 0 |
3850 || fnamecmp(p, "zsh-beta") == 0 | 3852 || fnamecmp(p, "zsh-beta") == 0 |
3851 || fnamecmp(p, "bash") == 0 | 3853 || fnamecmp(p, "bash") == 0 |
3852 # ifdef WIN3264 | 3854 # ifdef WIN3264 |
3853 || fnamecmp(p, "cmd") == 0 | 3855 || fnamecmp(p, "cmd") == 0 |
3854 || fnamecmp(p, "sh.exe") == 0 | 3856 || fnamecmp(p, "sh.exe") == 0 |
3855 || fnamecmp(p, "ksh.exe") == 0 | 3857 || fnamecmp(p, "ksh.exe") == 0 |
3858 || fnamecmp(p, "mksh.exe") == 0 | |
3859 || fnamecmp(p, "pdksh.exe") == 0 | |
3856 || fnamecmp(p, "zsh.exe") == 0 | 3860 || fnamecmp(p, "zsh.exe") == 0 |
3857 || fnamecmp(p, "zsh-beta.exe") == 0 | 3861 || fnamecmp(p, "zsh-beta.exe") == 0 |
3858 || fnamecmp(p, "bash.exe") == 0 | 3862 || fnamecmp(p, "bash.exe") == 0 |
3859 || fnamecmp(p, "cmd.exe") == 0 | 3863 || fnamecmp(p, "cmd.exe") == 0 |
3860 # endif | 3864 # endif |