logoalt Hacker News

qseratoday at 9:55 AM2 repliesview on HN

True, but easier said than done, because one often need to work in more shells than their local machines..


Replies

pie_flavortoday at 10:38 AM

This is a nonstandard tool. If you can't customize your machine, you already don't have it.

show 1 reply
worksonminetoday at 11:36 AM

Do something like this to fall back to plain grep. You will somehow have to share these configurations across machines though.

    alias g=grep
    command -v rg 2>&1/dev/null && alias g=rg