11

How to configure ack (sometimes distributed as ack-grep) to always include .conf files into search?

Andy Lester
  • 91,102
  • 13
  • 100
  • 152
Henno
  • 1,448
  • 4
  • 18
  • 30

1 Answers1

13

Add the following to your .ackrc file:

--type-set=conf=.conf

Personally, I have one line in my .ackrc, which tells it to search all files:

-a
Adam Batkin
  • 51,711
  • 9
  • 123
  • 115