On 22 Aug 2007, at 20:44, Alain O'Dea wrote:
For example if the first line of the script named "do_some_stuff" was "#!/bin/env bash", then the file type would be a Bourne Shell script file and Shell script (bash) syntax would be turned on.
The shell script grammar includes the following:
firstLineMatch = '^#!.*(bash|zsh|sh|tcsh)';
so this should work already.
Try this from Terminal:
echo '#!/bin/env bash' | mate