the_silver_searcher
the_silver_searcher copied to clipboard
Global .ignore does not followed
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
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.
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
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.
Updating here for anyone else coming to this issue, this is still the case.