From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6286 invoked by alias); 14 May 2015 17:35:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20215 Received: (qmail 1480 invoked from network); 14 May 2015 17:35:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=/LiDn7YX/hh5mp+BgI1WbyyKX81aq47So95feh8xZqI=; b=TusR5siQpVqE1jz0N+TyZUmcClAl7X7YVpv/0tXw3abCvTlYIixXMjw9J84PCu0PyL HioH1kBWelKKfoToXVzytFuYKQ2w5aHX5k7GKAM3ZeW+u9TUwWjGksgGQi6j8Mgf6gyd nTAo1nupL/FigAlglwyCUL9nTcoYq60/8w63yz6cagp9nwnNf2AOM7H0IScXxCb4iZbR Jr2LlUmW+5NxqIXlEdQ1KsVQTBV+0QoVVOl+6qi7g+24O3z8dOXUbOh3CVZs7E/rkvff dG8CtRQgpoKmvI3C2dtB5VydrxamHj1GnQGnT1RxIIQ8scomdpemtCQRDeO9Fr9o5E3h 9HPQ== X-Gm-Message-State: ALoCoQk2Jw66c6Hd0yhbPeRFaz91TR5XOyw7qK9Kv3IIiHwDCMNPNPEzCGJ6zEUkJyaYfDozDL+m X-Received: by 10.202.216.135 with SMTP id p129mr4240134oig.133.1431624906518; Thu, 14 May 2015 10:35:06 -0700 (PDT) From: Bart Schaefer Message-Id: <150514103503.ZM30786@torch.brasslantern.com> Date: Thu, 14 May 2015 10:35:03 -0700 In-Reply-To: <20150514143747.GF1932@tarsus.local2> Comments: In reply to Daniel Shahaf "Add matchspec for foo/bar branch names in git completion" (May 14, 2:37pm) References: <20150514143747.GF1932@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Add matchspec for foo/bar branch names in git completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 14, 2:37pm, Daniel Shahaf wrote: } } I'd like to add a matchspec to git heads completion, such that } 'git checkout o/m' would complete to 'origin/master'. } } However, I can't seem to get the matchspec right. I'm not sure you can do that with a matchspec; you might need to use the _multi_parts helper function.