git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: completion troubles with bash

From
Duy Nguyen <pclouds@gmail.com>
Date
May 1, 2018, 12:26 UTC
Message-ID
<CACsJy8AD2bjdRyNDBxcBOEWSknn=kzXfKGtkaYtZmiLshjUg3w@mail.gmail.com>
In-Reply-To
<CAPQz56bts8zFfUHyKJqnefQoH97L5TTA-k3be=5HsdeEbcMqOA@mail.gmail.com>

On Tue, May 1, 2018 at 2:17 PM, Pascal Bourdier <pascal.bourdier@gmail.com> wrote:

Show 14 quoted lines
> Hi,
>
>
> If "GREP_OPTIONS" is set to '--color=always' , then the git completion
> send some escape characters like this :
>
> ^[[1;35;40m^[[K                  d^[[m^[[Kiff-files               mergetool
> a^[[m^[[Kdd                      d^[[m^[[Kiff-index               mv
> a^[[m^[[Kddremove                d^[[m^[[Kiff-tree                name-rev
> a^[[m^[[Km                       d^[[m^[[Kifftool                 notes
> ...
>
>
> So you could find a small patch to disable color with "grep" in attachment.

Yep. The topic 'nd/command-list' on 'pu' accidentally fixes this too since it removes the use of egrep.

Show 6 quoted lines
>
>
> Regards,
>
>
> Pascal Bourdier
-- 
Duy
Previous: Pascal Bourdier
Message 2 of 2 in “completion troubles with bash”
  1. Pascal BourdierMay 1, 2018
  2. Duy NguyenMay 1, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.