Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion match ordering
- X-seq: zsh-workers 43847
- From: dana <dana@xxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: completion match ordering
- Date: Mon, 26 Nov 2018 17:07:40 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=KzBf24Qs0uYkdp1sp776ZhUk85A9mYKD8wSR9IdEGgI=; b=EOSeZKtqnQOwq7SN9BuVDO4BzcPsYWNk4bxABgySJMrcB9rN1Fz1Lt0A1SvvbD19NU qE+vTvpMOOCt5tnliVb3IHwNiPoIKnuOWW2UyJXf++1DDhR3rYtcwqs8lrlxZI8Ws0Wu SGffhgwZ8ZWopgvmXdzJZyX1I4r5NbdXZHSovnXmAdgvjGsl95UhuXB+D2gwmgT+/OSn hwM7cWjQwDSE+TMNQPfLfGWXeJVvYVum84j/RrAsT1FWuy5TC9fQjnKvMpygUV2n7jXk gvR7jUM1UrAimsIlHINWgjbpZKA/ZTF0V2OHrUW/uL3U8tz8LyquhSeL7GP8+vFPkzWL V6UA==
- In-reply-to: <76839-1543195550.251964@c6AU.RX4q.p78d>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <75B26F45-E6E6-44BB-80A4-7301CBE480FE@dana.is> <88812-1541586959.338018@YaNA.ZOZt.NKaA> <76839-1543195550.251964@c6AU.RX4q.p78d>
On 25 Nov 2018, at 19:25, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>Any thoughts on the interface? Is something more terse like -on
>preferable?
Experimenting with it in (what would be) 'real-world' applications, i do find it
kind of wordy, and if/when additional ordering options (like reverse) are added
it'll be even more so. Maybe a compromise would be possible, where the ordering
options can be abbreviated like -onum,rev? I could be over-complicating it,
though.
On 25 Nov 2018, at 19:25, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>Besides match, nosort and numeric, should any other orderings be
>supported? Reverse or case-sensitive perhaps?
I like the idea of reverse and case modifiers as i mentioned in our other
conversation. But i suppose in a lot of cases it'll be simple enough to just do
`compadd -o nosort - ${(Oi)foo}` or whatever, so... it'd be cool, but not
necessarily critical.
Other than that, i didn't test *super* extensively, but it seems to work well
for the sort of thing that inspired my original question (keeping numbers in the
right order, as in _lz4).
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author