logoalt Hacker News

fragmedeyesterday at 11:41 AM4 repliesview on HN

curious if you're customizing anyway, why not use eg ripgrep?


Replies

mathfailureyesterday at 2:48 PM

Others have already given valid answers: grep is not ripgrep [their params don't match], so it's a bad idea to alias 'grep' to use ripgrep. But it's okay to alias 'ripgrep' (or 'rg' or whatever) to use ripgrep with some args.

wtetzneryesterday at 1:31 PM

repgrep's CLI options and general behavior are different from grep. I tend to use both for different things.

llimllibyesterday at 12:46 PM

Not OP, but I use ripgrep and customize it with an alias as well, so it applies equally there