Lines Matching refs:sh
2 " Language: shell (sh) Korn shell (ksh) bash (sh)
8 " For options and settings, please use: :help ft-sh-syntax
25 " the script itself does not specify which shell to use. FYI: /bin/sh is ambiguous.
26 " Assuming /bin/sh is executable, and if its a link, find out what it links to.
28 if executable("/bin/sh")
29 let s:shell = resolve("/bin/sh")
30 elseif executable("/usr/bin/sh")
31 let s:shell = resolve("/usr/bin/sh")
43 " handling /bin/sh with is_kornshell/is_sh {{{1
44 " b:is_sh will be set when "#! /bin/sh" is found;
46 " or kornshell (typically workstations with Posix "sh").
132 " sh syntax is case sensitive {{{1
326 " $(..) is not supported by sh (Bourne shell). However, apparently
327 " some systems (HP?) have as their /bin/sh a (link to) Korn shell
330 " an Error under /bin/sh. By consensus of vimdev'ers!
513 " sh ksh bash : ${var[... ]...} array reference: {{{1
517 " sh ksh bash : ${parameter:-word} word is default value
518 " sh ksh bash : ${parameter:=word} assign word as default value
519 " sh ksh bash : ${parameter:?word} display word if parameter is null
520 " sh ksh bash : ${parameter:+word} use word if parameter is not null, otherwise nothing
575 " Additional sh Keywords: {{{1
788 let b:current_syntax = "sh"