The -l flag is particularly useful to pipe ripgrep's output into another program and perform additional operations on the matching files. This will fail in the case of filenames containing whitespace or colons, but will otherwise do what you want. Hot Network Questions. And if it has a config file you should be able to enable it there, rather than the alias which won't be used in scripts. If set to true, fall back to git grep --no-index if git grep is executed outside of a git repository.
nest...