Closed LangLangBart closed 2 days ago
Using Apple's default grep version and assigning the GREP_OPTIONS environment variable with --color=always, unintended ANSI escape sequences causing mischief in the correct retrieval of the history entry.
I expect this to be the reason for #3904, but it's probably good to wait until there is confirmation from the issue author.
Thanks. We can't even trust grep no more, 😭
description
Close #3904
Using Apple's default
grep
version and assigning theGREP_OPTIONS
environment variable with--color=always
, unintended ANSI escape sequences causing mischief in the correct retrieval of the history entry.Solution
--color=never
, or=~
operator coupled withMATCH
to catch the matched string in case of a success.