From b3315acf55fb967fc9d190a9b457dc1a3617b32e Mon Sep 17 00:00:00 2001 From: Michelle Konzack Date: Mon, 19 Apr 2010 10:53:21 +0200 Subject: [PATCH] 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 --- misc/syntax/Syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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@)