Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Bulk] Re: [PATCH] Add xxd completion
- X-seq: zsh-workers 33476
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: [Bulk] Re: [PATCH] Add xxd completion
- Date: Sat, 18 Oct 2014 14:08:13 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=mesmtp; bh=9u+eNV2w2iO J2zml4+mkcBPcY6A=; b=qN8q09oilnXTqaB1MnDqjnRrUmHW9fu03QQ1+bEOYKA jjtybD2NntcPZJUzHOMUUC4ffMFbZDUw8wDtfi8wPpsxellvLbNeGHl63pfdcu5Y wQ7/ToLxhSvno0sogFfyDzcO3jMgLCPs/tU0PvkpTphCIJKj3TXKf6zpbkD385Iw =
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=smtpout; bh=9u+eNV2w2i OJ2zml4+mkcBPcY6A=; b=YOpmkjsSRYu2YBo7XliMUwlDPL6RM6aj2fGwcYhoUN gjZNH4XXgm/UV4KeafOfJmp3XC5BJBq3JddvU3J0vVcETEDxoTzwaThDmk0rBeB4 /g67aNl03Dj6aSAxnGXvnukRuBJYBZR+D4uR3l0msYJIqy28ssOufiqrCYEa2vpz c=
- In-reply-to: <141011091935.ZM1151@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20141008082016.GC1712@tarsus.local2> <30554.1412778907@thecus.kiddle.eu> <20141009082124.GC1737@tarsus.local2> <11354.1413020781@thecus.kiddle.eu> <141011091935.ZM1151@torch.brasslantern.com>
[ Sorry for the delay; I didn't have time during the week. ]
Bart Schaefer wrote on Sat, Oct 11, 2014 at 09:19:35 -0700:
> On Oct 11, 11:46am, Oliver Kiddle wrote:
> }
> } It'll perhaps seem clearer if you set the format style with the
> } descriptions tag
>
> We had a brief discussion a few weeks ago of supplying a set of default
> zstyles, I've been gradually building up a suggested list. Both of
> these were the first things on it:
>
Perhaps add a snippet to enable edit-command-line to that list of suggestions?
It's not a zstyle, but it's asked regularly on IRC. (I bind it to ^Fc.)
(Also: I like the idea of having such a list — it would nicely bridge the gap
between "keep features off-by-default for backwards compatibility" and "have
helpful features on by default", i.e., "require no configuration in the common
case".)
> } zstyle ':completion:*:descriptions' format '%B%d%b'
> } zstyle ':completion:*' group-name ''
> }
> } This makes it clearer that you have two groups, one of which has no
> } associated matches, just a heading.
> }
Indeed, the situation with -g<tab> is much clearer with these settings. They
also make the nature of the -z file suggestion clearer. I think that addresses
all my upthread questions, then.
> } What subsequent tab presses does, depends a lot on your configuration.
>
Sorry, forgot to mention explicitly: I was using the default settings provided
by compinstall (autoload compinit && compinit && zstyle :compinstall filename).
>
Thanks for the detailed replies, Oliver and Bart.
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author