Closed yannickperrenet closed 3 years ago
Use ripgrep
instead, which does not have this issue.
Reference: https://github.com/BurntSushi/ripgrep
Great feature comparison between ack
, ag
and rg
: https://beyondgrep.com/feature-comparison/ (by the creator of ack
).
Thanks for the tip off towards -U --skip-vcs-ignores
❤️
Example
.gitignore
Now running
ag "text" .
will not search thevim/
directory. In certain situations it is fine runningag -U "text"
instead.See: https://github.com/ggreer/the_silver_searcher/issues/168