On Tue, 27 Sep 2016 10:41:07 -0500
Andy Lester <[email protected]> wrote:

> > On Sep 27, 2016, at 10:01 AM, David Cantrell
> > <[email protected]> wrote:
> > 
> > I want ~/foo/bar/baz to never get searched, no matter where I am
> > when I invoke ack - whether I'm in the home dir, or in ~/foo - but
> > I do want to search in ~/baz when I'm in the home dir. So my idea
> > was that when ack recurses into a directory it would look for
> > a .ackrc file and obey it only in that directory and its sub-dirs.
> > Something like '--ignore-dir=baz' in ~/foo/bar/.ackrc would do what
> > I want in that case.  
> 
> 
> I see where you’re going for, and at this point I don’t want to
> change the behavior of how ack hunts for .ackrc files.  If you’d like
> to submit this is as a feature request to the ack2 queue on GitHub,
> maybe others will chime in.  Maybe it’s something a lot of people
> want.
> 
> One thing you might try as a workaround is setting the ACKRC
> environment variable.
> 
> --
> Andy Lester => www.petdance.com
> 

Possibly related existing issues:

https://github.com/petdance/ack2/issues/479

https://github.com/petdance/ack2/issues/273

-- 
You received this message because you are subscribed to the Google Groups "ack 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ack-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to