The following commit has been merged in the master branch:
commit b3315acf55fb967fc9d190a9b457dc1a3617b32e
Author: Michelle Konzack <
linux4m...@tamay-dogan.net>
Date: Mon Apr 19 10:53:21 2010 +0200
Ticket #2127: updated file extension for "sh"
I find it realy annoying, if I put something in my BaSH configs and have
NO syntax hilighting so I have changed the line in Syntax which now
coloriser my BaSH configs nicely...
Signed-off-by: Yury V. Zaytsev <
yu...@shurup.com>
diff --git a/misc/syntax/Syntax b/misc/syntax/Syntax
index 3ff1c81..0d0c5a2 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@)
--
Midnight Commander Development
--
Subscription settings:
http://groups.google.com/group/mc-commits/subscribe?hl=en-GB