Ticket #2127 (new enhancement) — at Initial Version

Opened 14 years ago

Last modified 14 years ago

[PATCH] [Syntax] UPDATED: file extension for "sh"

Reported by: zaytsev Owned by:
Priority: trivial Milestone: 4.7.2
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502196

From: Michelle Konzack <linux4michelle@tamay-dogan.net>
To: BTS <submit@bugs.debian.org>
Subject: [Syntax] UPDATED: file extension for "sh"
Date: Tue, 14 Oct 2008 13:06:47 +0200

[Message part 1 (text/plain, inline)]

Package: mc
Severity: wishlist

Hello Winnie,

I find it realy annoying, if I put something in my BaSH configs and have
NO syntax hilighting so I have changed the line from

file ..\*\\.sh$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh
include sh.syntax

to

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

which now coloriser my BaSH configs nicely...
(See attached screenshot)

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


Change History

Changed 14 years ago by zaytsev

Note: See TracTickets for help on using tickets.