petdance/ack — Issue #198: new filetype not in the format *.xyz
Author: JianCheng
Created: 2011-11-18 06:54:59+00:00
State: open

Hi,

I am new in ack.
This is a wonderful tool. Thank you very much.

I normally use cmake, so I would like to define cmake type in .ackrc like this
--type-set=cmake=.cmake,CMakeLists.txt
However, ack automatically adds dot and considers CMakeLists.txt as .CMakeLists.txt ...
Is it possible to define new filetype for CMakeLists.txt?

The current version of ack only ignores dirs with simple names in --ignore-dir
I really hope ack works like .gitignore.

Thanks