The .ackrc file

I like to pipe output through the pager by default, so I set up an ~/.ackrc file with this:


Add a haml type. Without this your .haml files won’t get scanned unless you pass --all. Now they will be scanned by default (and you can do ack --haml and ack --nohaml to scope the search as well):


See also