Git Mailing List Archive on lore.kernel.org
 help / color / Atom feed
From: Anthony Sottile <asottile@umich.edu>
To: Git Mailing List <git@vger.kernel.org>
Subject: git git<tab> completes non-existent command `git gitk`
Date: Sat, 23 May 2020 15:25:13 -0700
Message-ID: <CA+dzEBnpheB-ZT5+bajKphux-+7gYFx1Msws7mXM=LOJO7pukw@mail.gmail.com> (raw)

easiest to reproduce is with docker

```dockerfile
FROM ubuntu:focal
RUN : \
    && apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y
--no-install-recommends \
        bash-completion \
        git \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*
```

```console
$ docker run --rm -ti test bash
root@23e691ecc7ba:/# [ -f /etc/bash_completion ] && . /etc/bash_completion
root@23e691ecc7ba:/# git gitk
```

(I typed git git<tab>)

```console
$ git gitk
git: 'gitk' is not a git command. See 'git --help'.
```

this is a bit annoying because I have some aliases/commands for git-github-*

the git version I have is 2.25.1:

```console
$ git --version
git version 2.25.1
```

Anthony

             reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23 22:25 Anthony Sottile [this message]
2020-05-24 21:38 ` Matheus Tavares
2020-05-25  0:27   ` Junio C Hamano
2020-05-25  1:53     ` Matheus Tavares Bernardino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+dzEBnpheB-ZT5+bajKphux-+7gYFx1Msws7mXM=LOJO7pukw@mail.gmail.com' \
    --to=asottile@umich.edu \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Mailing List Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/git/0 git/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 git git/ https://lore.kernel.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.git


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git