title: How to force Intellij to highlight file with no extension as Bash?
body: <p>I'm editing Linux <code>init.d</code> scripts with Intellij IDEA 12 Ultimate and would like it to use Bash syntax highlighting. I already have the Bash syntax highlighting plugin, and it works great for files ending in <code>.sh</code>. The problem with the init.d scripts is they have no extension, and it seems the only way to get Intellij to recognize a files type (Preferences -> File Types -> Registered Patterns) is by extension. If Registered Pattern supported paths (like <code>*/etc/rc.d/init.d/*</code>) that would be swell, but that doesn't seem to work.</p>
  
  <p>The only workaround I've found for now is to add the name of each script I want to edit to Registered Patterns. Better than nothing, but does is there a better way? Thanks!</p>