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

Re: Separate sections for manuals: what am I missing?



On 5 Apr 2020, at 19:26, Dave Woodfall <dave@xxxxxxx> wrote:
> However, selecting any section manual will always gets the first
> section manual listed.
>
> Do I need to add some other option so that I get can get e.g.
> printf(3)?

I think you want insert-sections. I guess it's not actually in the
documentation (i'll add it later), but the tag takes the form manuals.<sect>,
where <sect> is a pattern matching the section(s) you want to insert. So you
can just do this if you want to insert all sections:

  zstyle ':completion:*:manuals.*' insert-sections true

This also seems popular (insert all sections but 1):

  zstyle ':completion:*:manuals.^1' insert-sections true

dana



Messages sorted by: Reverse Date, Date, Thread, Author