Zsh Mailing List Archive
Messages sorted by:
Re: git completion: does not know "git switch"
- X-seq: zsh-workers 44724
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: git completion: does not know "git switch"
- Date: Mon, 02 Sep 2019 18:45:12 +0200
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1567442715; bh=3wZXhb1Zb0BlQYKztG4WGIE1++Vp2R1WZAqsKlvo3F8=; h=From:References:To:Subject:Date:From:Subject; b=lpJxIKiJWwduBUohumx8yA/9cLWe7w4Qs7/RkZsDF1IFnNgVQEJN8OnXbxEy65q8yk6W8jC15BOJDgS6MilOS1JCVLnGmApjHHbtxSNimdGUYkACvPujTY/iwC67hk2NK0uRy1WOX2N2yOxBWOH8G9Aaa/gxD41fLdxsRppdc2IBBTTEGT/wcwsLGBfky5MJ5X/BpcD1sbAGr9E/8hO6ZyC++I/5mZxB0ycC+UhIdFI44L7/MQ119YodzGTJ2ZnvJNbQWKcT4g9dvAPNSBRLW98ZOM3AY0FNZSCbB/+f4aOch5RufhOxSeXNoplWZLGn6547wmW1hyggi8vcp8zM0A==
- In-reply-to: <20190902145953.GA23939@cventin.lip.ens-lyon.fr>
- List-help: <mailto:email@example.com>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- List-unsubscribe: <mailto:email@example.com>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20190902145953.GA23939@cventin.lip.ens-lyon.fr>
Vincent Lefevre wrote:
> If I do "git sw[Tab]", zsh does not find any completion.
> It should complete to "git switch".
% git switch -h
git: 'switch' is not a git command. See 'git --help'.
On further investigation, it seems git switch and restore are new
features of 2.23.0. We're always going to be playing catchup to some
extent. Even where external projects include zsh completions, there
tends to be a lag. The last update to _git on 17 July brought it in
line with git 2.22.0 but you might not want to use that function with
zsh 5.7.1 for other reasons.
We'd be happy to accept any patches to support the new features.
Messages sorted by: