the_silver_searcher icon indicating copy to clipboard operation
the_silver_searcher copied to clipboard

Global .ignore does not followed

Open markwu opened this issue 7 years ago • 4 comments

I just put a .ignore file on my $HOME directory, it seems the Ag does not follow it, I have to rename it to .agignore to make it work.

Here comes with my ag --version:

ag version 0.33.0

Features:
  +jit +lzma +zlib

markwu avatar Nov 28 '16 15:11 markwu

Going by Geoff's blog, I think the .ignore feature was only recently introduced so you likely need to install or build the latest version.

jppunnett avatar Dec 01 '16 11:12 jppunnett

As far as I know 0.33.0 should be the first tag to include the .ignore file function See here: https://github.com/ggreer/the_silver_searcher/compare/0.32.0...0.33.0

jschpp avatar Dec 01 '16 12:12 jschpp

Building off of master right now, and running ag -D, it appears that it is looking for .ignore the directories that it is searching, but is only looking for .agignore in the home directory.

dwright avatar Dec 08 '16 21:12 dwright

Updating here for anyone else coming to this issue, this is still the case.

asadakbarml avatar Dec 10 '21 01:12 asadakbarml