From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [BUG?] Git completion "command not found"
Date: Fri, 17 Aug 2018 22:37:10 -0400 [thread overview]
Message-ID: <20180818023709.GA49292@osmium.lan> (raw)
In-Reply-To: <CAKc7PVCLt+yxR=3gEN2vJrCZL8U-=w1zF4TbAPkpQGuBH7MY=g@mail.gmail.com>
On 2018-08-17 at 12:20 +0200, Sebastian Gniazdowski wrote:
> Hello,
> running HEAD zsh, from some time, I get e.g. on git add in<TAB>:
>
> __git_zsh_bash_func:9: command not found: __git_aliased_command
>
> The same on git diff --cac<TAB>.
That logic comes from the zsh completion provided by the Git project.
If you're running current zsh (and HEAD certainly qualifies) then I
recommend against enabling that completion and stick to the stuff
supplied by zsh.
My dotfiles repo git commit log shows that I experimented with using
the git-project-maintained zsh completion and removed it because
`git -C <tab>` would yield `alias.-C` errors. I don't think I chased it
further, I just made sure to stick to the zsh project's completion for
git. Aside from anything else, it's easier to debug without jumping
through bash completion shim layers.
-Phil
prev parent reply other threads:[~2018-08-18 2:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 10:20 Sebastian Gniazdowski
2018-08-17 14:00 ` dana
2018-08-17 16:12 ` Sebastian Gniazdowski
2018-08-17 16:17 ` Daniel Shahaf
2018-08-18 2:37 ` Phil Pennock [this message]
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=20180818023709.GA49292@osmium.lan \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=sgniazdowski@gmail.com \
--cc=zsh-workers@zsh.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).