Description
Describe your feature request
Enact GREP_COLOR variable configuration
Please describe the behavior you want and the motivation. Please also provide
examples of how ripgrep would be used if your feature request were added.
I currently have both these variables set:
GREP_COLOR=mt=42;5;185
GREP_COLORS=mt=42;5;185
It causes my matched grep text to be blinking white on green.... A deliberately annoying choice made to grab my attention. Not sure which one of the 2 is the one "doing" it; it depends on which year of grep release you use. Both is safest for me. And sometimes it requires --color=always to make it happen. My grep is basically aliased to --color=always -i
Been enjoying this for years if not decades, but today hit a wall with file encoding that just won't grep a simple word out of a simple log file unless i type it and pipe it to grep, which I don't like.
So I discovered ripgrep.
It cuts through the file encoding and gives me my results just fine, but obviously not in the ridiculous color I want. I love its speed and simplicity, but I also love the colors I have been using for years/decades.
Here's a visual example of what I'm getting at:
If you're not sure what to write here, then try imagining what the ideal
documentation of your new feature would look like in ripgrep's man page. Then
try to write it.
Probably just a copy of the gnu doc for the --color feature