Ack

Links

The .ackrc file

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

--pager=less

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):

--type-set=haml=.haml

See also