Home Download Buy Blog Forum Support

.bashrc (and related files) syntax colour

.bashrc (and related files) syntax colour

Postby dsarch on Thu Jun 23, 2011 5:51 pm

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:

Code: Select all
(...)
   <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:

Code: Select all
(...)
   <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 !
dsarch
 
Posts: 62
Joined: Tue May 03, 2011 2:31 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 27 guests