ag --ocaml to_string
When I last tried, ag couldn't handle this in .ignore file:
!foo.1 foo.*
Also rg is a bit faster than ag for my use cases.
rg --type-add 'foo:*.{foo,foobar}' -tfoo bar
You simply make the below into an alias:
rg --type-add 'foo:*.{foo,foobar}'
When I last tried, ag couldn't handle this in .ignore file:
That would ignore all foo.* files except foo.1 in rg.Also rg is a bit faster than ag for my use cases.