Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug related to order of zsh completion options?
- X-seq: zsh-workers 41704
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: ryan@xxxxxxxxxxxxxxxx
- Subject: Re: Bug related to order of zsh completion options?
- Date: Thu, 14 Sep 2017 17:12:01 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1505409774; bh=Yd4178Bs8DdIN/hSGPKFZnwyS6X43iBZZMne4Op0HKw=; h=From:References:To:Subject:Date:From:Subject; b=rCFUupsQ7D+C9nLcH/G+bWzDxT//5i+HYZCOjExaKHN9RLCsmTUCe8v0g6Q0Xpj/tE7debbjDR5ErMbJmssLklRyNtscU95b7ejzuNWzROK20C70OmJ+QbpbsR2WgvziX1BYVz8x/y+V9jf7u7rpt+4Zl+qk46ANky2aSu+LlaJphc9c35zAYfKI3yp5BCnwgg1ydSLa2KPfQPOJwg+TXKfWDvVZeR35Zb0zD3F/3d2bIBmkIVIuMGWPNeSqRrr3m6R8fnImiHYsmk3lt7ZCDIp9wLCsAoD/ZPePRtOAswKUZNSf4cMkBX6QBRHLv0u9yA1oau3mH0vUfZYk1s6k5g==
- In-reply-to: <E1dsTih-0000Vx-Fj@kiddle.eu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <E1dsTih-0000Vx-Fj@kiddle.eu>
ryan@xxxxxxxxxxxxxxxx wrote:
> # this version doesn't
> #_arguments '1:a:(( a_z\:"aaazzz" a_b_c\:"aabbcc" ))'
> I get: brokencompletion a_
> ^ but my cursor is on the "a"
> Is this a bug or is this documented somewhere, and I just missed a
> specification?
It looks like a bug to me. Seems to have been introduced sometime
between 3.1.7 and 4.0.1 so it is old but not in the original matching
control code. The mimimum to reproduce it is just
compadd -M 'r:|_=* r:|=*' a_z a_b_c
or even:
compctl -M 'r:|_=* r:|=*' -s 'a_z a_b_c' cmd
Oliver
.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author