I have always had GREP_OPTIONS set to –color=always.
Recently, on OS X, this bit me here:
Because GREP_OPTIONS is also deprecated, it's suggested you use the following format instead:
We have two paths forward:
- unset GREP_OPTIONS
- Force the affected line to be grep --color=never