diff --git a/misc/syntax/Syntax b/misc/syntax/Syntax index 3ff1c81a5..0d0c5a23f 100644 --- a/misc/syntax/Syntax +++ b/misc/syntax/Syntax @@ -37,7 +37,7 @@ include diff.syntax file ..\*\\.lsm$ LSM\sFile include lsm.syntax -file ..\*\\.sh$ Shell\sScript ^#!.\*([\s/]([abd-z]?|ba|pdk)sh|@SH@) +file .\*(bash_completion|profile|\\.(sh|bash_login|bash_profile|bash_logout|bash_aliases|bash_exports|bash_history|bash_userstuff|bashrc|profile))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh include sh.syntax file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@)