-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
~/.ignore isn't respected (while ~/.agignore is) #1097
Comments
…and in 2.0 there seems to be no way at all to keep global ignore file =( |
For me in 2.0,
|
I'm on OSX and for me ~/.agignore works and ~/.ignore does not. ag 2.1.0 |
Despite some confusion in the docs, `.agignore` does appear to work as a global ignore file. See ggreer/the_silver_searcher#1097
It seems |
I think only |
Documentation here: https://github.com/ggreer/the_silver_searcher/wiki/Advanced-Usage#ignoring-files
|
Ah @kurko is seeing what I'm seeing and so sounds like |
Following @Trevoke , I'm on |
Actually, it seems this is not true, both ag and rg support .ignore files anywhere in the directories being search, but only rg supports a global .ignore, whereas ag (v2.2.0) requires a global .agignore See ggreer/the_silver_searcher#1097 This reverts commit a239c01.
ag is said to prefer
.ignore
files (#974), while in reality~/.ignore
is, well, ignored:The text was updated successfully, but these errors were encountered: