protocool / AckMate

TextMate plugin (Cocoa) shell for running 'ack'
MIT License
723 stars 34 forks source link

How can I exclude certain dirs? #31

Closed joshgoebel closed 12 years ago

joshgoebel commented 12 years ago

I have a large data directory in my profile... I've tried --ignore-dir=data, but that doesn't work... I've already tried playing around with --ackmate-dir-filter, but I can't get that to work either.

Please advise?

protocool commented 12 years ago

Hey,

thats odd, I just tried it out now and it works fine here, both when specifying --ignore-dir=data in the AckMate Window's options field as well as in $HOME/.ackrc

if you run:

~/Library/Application\ Support/TextMate/PlugIns/AckMate.tmplugin/Contents/Resources/ackmate_ack --version

What does it return?

Trev

joshgoebel commented 12 years ago

ack 1.92-ackmateRunning under Perl 5.12.3 at /usr/bin/perl

Copyright 2005-2009 Andy Lester.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

joshgoebel commented 12 years ago

n/m, I got it. I also had the huge file copied into another app directory. :) So two ignores and I'm good to go. Thanks.