Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bulk] Re: [PATCH] Add xxd completion



[ 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