ripgrep is an excellent alternative to grep. One of its benefits is how it filters the files it searches.
However, on occasion those normally ignored files need to be searched. I find
this is especially the case when searching through my
dotfiles repo. Adding the flag
--hidden
or -.
does the job e.g.
rg -. <search_term>