Sublime Forum

.bashrc (and related files) syntax colour

#1

Hello,

I was having a problem with ST2 which .bashrc file (and all related files) did not were syntax coloured, so i did a quick search and found the culprit, could it be fixed in a new build ?

File: Packages/ShellScript/Shell-Unix-Generic.tmLanguage

It was like that:

(...)
	<key>fileTypes</key>
	<array>
		<string>sh</string>
		<string>ss</string>
		<string>bashrc</string>
		<string>bash_profile</string>
		<string>bash_login</string>
		<string>profile</string>
		<string>bash_logout</string>
		<string>.textmate_init</string>
	</array>
(...)

And now it reads:

(...)
	<key>fileTypes</key>
	<array>
		<string>sh</string>
		<string>ss</string>
		<string>.bashrc</string>
		<string>.bash_profile</string>
		<string>.bash_login</string>
		<string>.profile</string>
		<string>.bash_logout</string>
		<string>.textmate_init</string>
	</array>
(...)

Thanks !

0 Likes