From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2352 invoked by alias); 18 Aug 2018 02:54:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43312 Received: (qmail 19984 invoked by uid 1010); 18 Aug 2018 02:54:41 -0000 X-Qmail-Scanner-Diagnostics: from mx.spodhuis.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(94.142.241.89):SA:0(-4.2/5.0):. Processed in 1.545919 secs); 18 Aug 2018 02:54:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: zsh-workers+phil.pennock@spodhuis.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | 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==; Date: Fri, 17 Aug 2018 22:37:10 -0400 From: Phil Pennock To: Sebastian Gniazdowski Cc: Zsh hackers list Subject: Re: [BUG?] Git completion "command not found" Message-ID: <20180818023709.GA49292@osmium.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/0x4D1E900E14C1CC04.asc 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: > > __git_zsh_bash_func:9: command not found: __git_aliased_command > > The same on git diff --cac. 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 ` 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