completion troubles with bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux