Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Completion: Sort lz4 compression levels properly (+ a question)
- X-seq: zsh-workers 43798
- From: dana <dana@xxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: [PATCH] Completion: Sort lz4 compression levels properly (+ a question)
- Date: Wed, 7 Nov 2018 11:52:39 -0600
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=m05MOFTwUKpzUsd+c3juWnIZenA+ka884IxyWku374c=; b=iehyN5UJ+AmsnpFP1epfKA6i13/ijWv6UkLTd+1//vgQafXuN4AFmqFBwYahSD13TM qhcWeV0R39kne4Cmvm/Q1t/3VYXe/UuwAxEX0MJKY3kM8ciKCBWvaFPVKIDwpItB1T/p UCND40cRm9kwUCEntN2blSUrrllmoc4gT1N+n4h7gxVucLQ0I2AdkNrFaQiqcFL9xIyf /iJZv5EupBbikvju0OwceeS0cHuMkUQZDUFP5kCQ9LNqKuhUi9YowfjCgWUX+dgGZImM o8+siMF5gBSRLUIqB7vWnlbNVg4H8LylN5S8LHGtUqRmtJjrNoHmi+ZzHETAOeD4lF4J uBvA==
- In-reply-to: <88812-1541586959.338018@YaNA.ZOZt.NKaA>
- 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>
On 7 Nov 2018, at 04:35, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>The compadd interface perhaps isn't ideal. If -V was a standalone option
>like -1 and -2, intended to be used in combination with -J (to specify
>the group name), then it would be easier to modify the sort order.
Yeah, i don't know the history behind it, but i've found myself thinking exactly
that several times.
On 7 Nov 2018, at 04:35, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>Can we improve it without breaking backward compatibility. -o with an
>argument could allow for more sorting options, e.g. -o numeric to do
>numeric sorting. Do we need to be concerned that someone somewhere may
>actually be using -o?
I can't find any instances of it in either the main zsh repo or the
zsh-completions one, nor in any of the 'vendor completions' i have installed on
my Mac or Ubuntu machines, so i bet you're right that it's not been used.
Are you suggesting removing the requirement to use it with -d, and giving it an
optarg to control the match-string sorting method?
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author