Tech-Angels

Make Ack look into haml files too

If you’re using Ack grep command in a Rails project, you’ll notice all haml views aren’t taken into account. This is because the haml file pattern is not recognized by Ack.

To fix this, simply create a ~/.ackrc file and add :

--type-add=ruby=.haml,.rake,.rsel

  1. beauweckconmi reblogged this from tech-angels
  2. tech-angels posted this
blog comments powered by Disqus
To Tumblr, Love Metalab