Skip to content

add blink style support #2930

Open
Open
@ClaireCJS

Description

@ClaireCJS

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:

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn enhancement to the functionality of the software.help wantedOthers are encouraged to work on this issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions