logoalt Hacker News

worksonminetoday at 11:36 AM0 repliesview on HN

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