Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG?] Git completion "command not found"
- X-seq: zsh-workers 43312
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: [BUG?] Git completion "command not found"
- Date: Fri, 17 Aug 2018 22:37:10 -0400
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201808; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fMa1FQ+H7qJ4kNA0qnyvbsRnpvpmpEfDtvThihGV63s=; b=OjR3imMPUakavYbM/7Z6SBnNqg WekymTr5xuMoyYId9BFxF8fduLRgwNJVashkCJycY+HgKJ78Z5wT3tbm1qcaIJuTN9talJskJhTEB Z68Co3wMfxoO6b65kaJs33Kyt0xzioIvop/6ExBEVCf46B0GMJRY332JuHLqEX1ETuK1TyRpjG3MB lEmlU3Q/Zab7dZSRlu9X7vrF5mFm8KZgv8URu2eTvsQC+toj05uF7fThy+fK3o7V55oGVrgP1Ugs3 4IonNY2JXStTL3oiiYouNZWiZLnAkNCjeaRY/mOJT9Aalp3J4/hA/lZl3Xwxw6KpSEnq6gxr01BJW MEPUhtjQ==;
- Dkim-signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201808e2; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fMa1FQ+H7qJ4kNA0qnyvbsRnpvpmpEfDtvThihGV63s=; b=rxpLnce7TzQTHWrJsL/L90oDY lohhAkmVnIgf4lgVOX1lBjq27CGnlLF7AEVCB48+SYrIi96SE2mqoYK2FzNBw==;
- In-reply-to: <CAKc7PVCLt+yxR=3gEN2vJrCZL8U-=w1zF4TbAPkpQGuBH7MY=g@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Openpgp: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author