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

Re: git tab completion shows ansi escape sequences

From
MGMike Gant <mwgant@gmail.com>
Date
Aug 30, 2011, 11:59 UTC
Message-ID
<CAPbp7P7akkrUbe9TTjL5JG2wbYZNSwHmapAGexnsHZX2yp03wA@mail.gmail.com>
In-Reply-To
<20110830021707.GA27166@gantsfort.com>
On Mon, Aug 29, 2011 at 8:17 PM, Mike Gant <mwgant@gmail.com> wrote:
Show 29 quoted lines
> Tab completion results in this output:
>
> $ git <TAB><TAB>
> ^[[31m^[[K                  c^[[m^[[Kount-objects       g^[[m^[[Ket-tar-commit-id   replace
> a^[[m^[[Kdd                 c^[[m^[[Kvsexportcommit     g^[[m^[[Krep                request-pull
> a^[[m^[[Km                  c^[[m^[[Kvsimport           g^[[m^[[Kui                 reset
> a^[[m^[[Knnotate            c^[[m^[[Kvsserver           help                        revert
> a^[[m^[[Kpply               ci                          imap-send                   rl
> a^[[m^[[Krchive             co                          init                        rm
> b^[[m^[[Kisect              d^[[m^[[Kaemon              instaweb                    send-email
> b^[[m^[[Klame               d^[[m^[[Kescribe            log                         shortlog
> b^[[m^[[Kranch              d^[[m^[[Kiff                logk                        show
> b^[[m^[[Kundle              d^[[m^[[Kiff-files          lol                         show-branch
> br                          d^[[m^[[Kiff-index          lola                        st
> c^[[m^[[Kat-file            d^[[m^[[Kiff-tree           ls                          sta
> c^[[m^[[Kheck-attr          d^[[m^[[Kifftool            merge                       stage
> c^[[m^[[Kheck-ref-format    f^[[m^[[Kast-export         mergetool                   stash
> c^[[m^[[Kheckout            f^[[m^[[Kast-import         mv                          status
> c^[[m^[[Kheckout-index      f^[[m^[[Ketch               name-rev                    sts
> c^[[m^[[Kherry              f^[[m^[[Ketch-pack          notes                       submodule
> c^[[m^[[Kherry-pick         f^[[m^[[Kilter-branch       pull                        svn
> c^[[m^[[Kitool              f^[[m^[[Kmt-merge-msg       push                        tag
> c^[[m^[[Klean               f^[[m^[[Kor-each-ref        rebase                      tlog
> c^[[m^[[Klone               f^[[m^[[Kormat-patch        reflog                      unstage
> c^[[m^[[Kommit              f^[[m^[[Ksck                relink                      whatchanged
> c^[[m^[[Kommit-tree         f^[[m^[[Ksck-objects        remote
> c^[[m^[[Konfig              g^[[m^[[Kc                  repack
>
> This is on Linux Mint 11 but it also happens on openSuse 11.4.
Update it does not do this on openSuse 11.4.
Show 21 quoted lines
>
> $ echo $SHELL
> bash
>
> $ echo $BASH_VERSION
> 4.2.8(1)-release
>
> $ echo $TERM
> xterm-256color
>
> The same result when TERM is set to xterm, rxvt, rxvt-256color, rxvt-unicode.
>
> Does anyone know why I'm getting this output?
>
> Thanks,
> Mike
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Previous: Mike Gant
Message 2 of 2 in “git tab completion shows ansi escape sequences”
  1. Mike GantAug 30, 2011
  2. Mike GantAug 30, 2011

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.