Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion, sorting of options
- X-seq: zsh-users 29328
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: completion, sorting of options
- Date: Wed, 8 Nov 2023 12:44:12 -0800
- Archived-at: <https://zsh.org/users/29328>
- In-reply-to: <CAH+w=7bXRSr+8Q9F7YG2-smroT_ZaUU08kuWx=CJb7CzT2_54g@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <3focki1mdsq59ji5d0u5nb7qenu6u8brkt@tlc.com> <dp2nkithdenet27dghfagsl8r02q4l3irt@tlc.com> <CAH+w=7bXRSr+8Q9F7YG2-smroT_ZaUU08kuWx=CJb7CzT2_54g@mail.gmail.com>
On 2023-11-08 12:09, Bart Schaefer
wrote:
Not likely to happen as it would mean a significant change to the deep
guts of _arguments.
Purely theoretically, is this the sort of thing where a hook might
be used? I have only the most cursory understanding of hooks, but
my minimal exposure to the idea leads me to think that zsh lets you
sorta grab some output -- hook it -- and redirect it to some custom
code which would do whatever one might want. Or, in the spirit of
precmd() it's very cool that one can very easily add any sort of
code one wants in there.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author