How to make ack include .conf files?

2.1k views Asked by At

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

1

There are 1 answers

3
Adam Batkin On BEST ANSWER

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