Y
Hacker News
new
|
ask
|
show
|
jobs
by
qsera
80 days ago
True, but easier said than done, because one often need to work in more shells than their local machines..
2 comments
pie_flavor
80 days ago
This is a nonstandard tool. If you can't customize your machine, you already don't have it.
link
qsera
80 days ago
But it could be one day..
link
worksonmine
80 days ago
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
link