Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _arguments '(-o --option)'[...] functionality without calling _arguments
- X-seq: zsh-users 29259
- From: Adam Szkoda <adaszko@xxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: _arguments '(-o --option)'[...] functionality without calling _arguments
- Date: Thu, 14 Sep 2023 13:14:41 +0200
- Archived-at: <https://zsh.org/users/29259>
- In-reply-to: <CAEroKagj+Ccrs1psLaH+CsGcpSFB77FDSGgUv_nBJ0h4DvG=Xg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAEroKaiTZUbp_o+Vn_puXc3uxqksOM5BR=gAyq935y82ssOAxQ@mail.gmail.com> <25398-1694605307.153980@4IDq.Y-bs.Rupp> <CAEroKagj+Ccrs1psLaH+CsGcpSFB77FDSGgUv_nBJ0h4DvG=Xg@mail.gmail.com>
> So it works (provided list-grouped zstyle is set to true but that's totally
> fine). I'd be curious however to know how to get the same effect with plain
> compadd.
I tried it more thoroughly and _describe turned out to be sufficient,
so the compadd solution is no longer necessary.
Thanks!
— Adam
Messages sorted by:
Reverse Date,
Date,
Thread,
Author