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

Re: menuselection with manpages



Oliver Kiddle <okiddle@xxxxxxxxxxx>:
> Frank Terbeck wrote:
> > > How would I get the completion to add the section to the
> > > completion, like 'man 5 crontab'?
> 
> > I found some time this evening, so I played around with the _man
> > function a little bit. The required change was pretty simple:

> This should be configurable with a style. I've attached a patch which
> does that. This also means that section 1 can be excluded as follows:
>   zstyle ':completion:*:manuals.(^1*)' insert-sections true

Hi Oliver,
That works great. Thank you, too.

Regards, Frank



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