beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 140 forks source link

Apply subdirectory's .ackrc #273

Closed mcandre closed 7 years ago

mcandre commented 11 years ago

I would prefer that .ackrc's in subdirectories are applied when searching them, no matter where your current directory is.

$ mkdir test
$ echo "shouldn't print" > test/test.dot
$ echo "--ignore-file=ext:dot" > test/.ackrc
$ ack print test/
test\test.dot
1:shouldn't print
$ cd test/
$ ack print
(blank)
petdance commented 7 years ago

This is more complex than I want to make .ackrcs. Sorry.