← Back to context

Comment by mathfailure

17 days ago

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.

That 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.