Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _arguments: normal arg spec with empty action
- X-seq: zsh-workers 39697
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- Subject: Re: _arguments: normal arg spec with empty action
- Date: Fri, 21 Oct 2016 08:31:51 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1477031512; bh=wxaVPtFQnwefrQkJLlDYFCEzr9ozXSvnoz+t6PvL3Lo=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=eZA2SSRvkqMaRNqUMFM8TbGRJMf9ao3JAHqbKd2i8qqJw+Yem/ha4XjyFWHTTNFT94WZkV/N1m7JJSQ2zGhyK0wfT8MS6d6m2DpGCG2AjFnWOynkm2diY9dF79CF/67+blVTixBfeZcfmTMDDY/ud94y6iHMiekk3huAxGTg5BV0KUlHGt7Oqk8j1XREOUPzvXXeCM1X9FUqISakUtVASY5lhBVpHWSmBz6LIZPgjJhRiw2kYZlvD/1JLwkp76xU14jFl9Qedo9iWrKYB7+mMi+f0jkcO5zcGgr7XPLDP4pNCxO3uThGxJQ8bvRNbDRTlXiD6x4Yz5YZtHUofcQ7Og==
- In-reply-to: <81D02BE7-7F8E-4E46-B7A9-95A5C9D8DDF7@kba.biglobe.ne.jp>
- 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: <81D02BE7-7F8E-4E46-B7A9-95A5C9D8DDF7@kba.biglobe.ne.jp>
On 18 Oct, "Jun T." wrote:
> If I type
>
> zsh% awk -<TAB>
>
> then it shows the list of options (-F -f -v), as expected.
> But if I hit <TAB> again, it does not cycle through the options.
I can't reproduce this so perhaps there's something setup related.
Does pressing tab a third time work?
> The following patch fixes the problem, but is this the best way to go?
> + '1: : _message "program text"' \
Does _guard work? For a heading without matches, _message -e should be
used but that roughly what _arguments is doing.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author