Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How about separating "_arguments --" into a new function?
- X-seq: zsh-workers 49491
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: How about separating "_arguments --" into a new function?
- Date: Mon, 18 Oct 2021 13:40:09 +0900
- Archived-at: <https://zsh.org/workers/49491>
- In-reply-to: <20211017164917.GA30795@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <4B74EF96-AE73-4D40-ACDD-9999DFFDA1A8@kba.biglobe.ne.jp> <20211012160428.GD17948@tarpaulin.shahaf.local2> <D2CD445E-2922-417F-AC7B-56D459BA0194@kba.biglobe.ne.jp> <20211017164917.GA30795@tarpaulin.shahaf.local2>
> 2021/10/18 1:49, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
>>>> Or just using $_args_cache_cmd is enough?
>>>
>>> If it is enough, then it should be made more discoverable.
>>
>> I guess it is enough since no one is requesting to separate _arguments.
>> How about the following?
>>
>
> Are we happy with documenting it as a first-class feature, i.e., one
> that we would be expected to continue supporting? Or would we rather
> document this as a "we may change this in the future" thing?
I personally feel we don't need to document it (it's a kind of hidden
feature). But you said it should be more discoverable. So where should
it be documented? At the end ofEtc/completion-style-guide? Or as a
comment at the top of _arguments?
> Typos: "commnd", "chache".
Thanks.
> Would prefer «print -r --» in case of backslashes,
I think (qqq) takes care of backslashes etc., but will use print -r
if it looks safer.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author