Henno
Henno

Reputation: 1498

How to make ack include .conf files?

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

Upvotes: 11

Views: 2124

Answers (1)

Adam Batkin
Adam Batkin

Reputation: 52964

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

Upvotes: 13

Related Questions