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.


Regards,


Pascal Bourdier

Attachment: git-completion.bash.patch
Description: Binary data

Reply via email to