You are not logged in.

#1 2012-05-12 16:53:40

tlamer
Member
From: Bratislava, Slovakia.
Registered: 2010-02-04
Posts: 42

git completion strange behavior [SOLVED]

Hi,

i have problem with git completion. When i try to complete git commands

^[[1;33m^[[K               c^[[m^[[Kommit             f^[[m^[[Kmt-merge-msg      rebase 
a^[[m^[[Kdd                c^[[m^[[Kommit-tree        f^[[m^[[Kor-each-ref       reflog 
a^[[m^[[Km                 c^[[m^[[Konfig             f^[[m^[[Kormat-patch       relink 
a^[[m^[[Knnotate           c^[[m^[[Kount-objects      f^[[m^[[Ksck               remote 
a^[[m^[[Kpply              c^[[m^[[Kredential-cache   f^[[m^[[Ksck-objects       repack 
a^[[m^[[Krchimport         c^[[m^[[Kredential-store   get-tar-commit-id          replace 
a^[[m^[[Krchive            c^[[m^[[Kvsexportcommit    g^[[m^[[Kc                 request-pull 
b^[[m^[[Kisect             c^[[m^[[Kvsimport          grep                       reset 
b^[[m^[[Klame              c^[[m^[[Kvsserver          gui                        revert 
b^[[m^[[Kranch             d^[[m^[[Kaemon             help                       rm 
b^[[m^[[Kundle             d^[[m^[[Kescribe           imap-send                  send-email 
c^[[m^[[Kat-file           d^[[m^[[Kiff               init                       shortlog 
c^[[m^[[Kheck-attr         d^[[m^[[Kiff-files         instaweb                   show 
c^[[m^[[Kheckout           d^[[m^[[Kiff-index         log                        show-branch 
c^[[m^[[Kheckout-index     d^[[m^[[Kifftool           merge                      stage 
c^[[m^[[Kheck-ref-format   d^[[m^[[Kiff-tree          mergetool                  stash 
c^[[m^[[Kherry             f^[[m^[[Kast-export        mv                         status 
c^[[m^[[Kherry-pick        f^[[m^[[Kast-import        name-rev                   submodule 
c^[[m^[[Kitool             f^[[m^[[Ketch              notes                      svn 
c^[[m^[[Klean              f^[[m^[[Ketch-pack         pull                       tag 
c^[[m^[[Klone              f^[[m^[[Kilter-branch      push                       whatchanged 

all of the commands starting with *^[[m^[[K* are completed literally with all the characters ^[[... for the rest of the commands completion works fine. Any ideas?

Last edited by tlamer (2012-05-13 13:41:49)


:wq

Offline

#2 2012-05-12 17:16:39

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: git completion strange behavior [SOLVED]

Very strange. What shell are you using? What is your PS1?

Offline

#3 2012-05-12 17:32:17

tlamer
Member
From: Bratislava, Slovakia.
Registered: 2010-02-04
Posts: 42

Re: git completion strange behavior [SOLVED]

im using bash..

here is my whole bashrc https://bitbucket.org/tlamer/conf/src/1 … a69/bashrc


:wq

Offline

#4 2012-05-13 13:41:07

tlamer
Member
From: Bratislava, Slovakia.
Registered: 2010-02-04
Posts: 42

Re: git completion strange behavior [SOLVED]

I went through my .bashrc and find the problematic line:

alias egrep='egrep --color=always'

now it's everything fine


:wq

Offline

Board footer

Powered by FluxBB