4 ms·
curious if you're customizing anyway, why not use eg ripgrep?
by fragmede 9mo ago
curious if you're customizing anyway, why not use eg ripgrep?
- deleted 9mo ago[deleted]
- llimllib 9mo agoNot OP, but I use ripgrep and customize it with an alias as well, so it applies equally there
- wtetzner 9mo agorepgrep's CLI options and general behavior are different from grep. I tend to use both for different things.
- mathfailure 9mo agoOthers 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.
- fragmede 9mo agoThat wasn't my point. The params don't match so you'd be hurting yourself to alias grep=rg; my point was if you're already customizing the system, then upgrading to ripgrep should also be on the table.