It is possible to configure ack to use multiple ackrc files if they
exist? For example, I would like to have a ~/.ackrc that contains
--smart-case and, for some projects/directories, to have a
./ack_config that contains (e.g.) --ignore-dir=docs
Many thanks,
Al
I guess we could have multiple .ackrc, say, /etc/ackrc, ~/.ackrc and
then ./.ackrc, although I'm not sure about the last one.
Thoughts?
xoa
--
Andy Lester => an...@petdance.com => www.petdance.com => AIM:petdance
I think this would be great, although I'm not sure about using
'.ackrc' as the filename for the "current directory" one as it would
be easy to lose as you may not expect there to be hidden files in a
project directory. There could just be an environment variable
defining the filename for a "current directory" ackrc. Then it's up
to the user (and it it is unset, it could default to the current
behaviour of not checking for anything other than ~/.ackrc).
Al
I'd want to it work just like git - in that you can have a global config file (~/.git or ~/.ackrc) as well as a per project config file (~/myproj/.git/config or ~/myproj/.ackrc)
You must be new to the list. We're all over that over on ack2. It's what's taken a lot of time for us to ramp up.Check our progress at https://github.com/petdance/ack2. Rob Hoelz and I are working on a list of what's left.xoa