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

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



On Sun, Apr 5, 2020 at 5:27 PM Dave Woodfall <dave@xxxxxxx> wrote:
>
> Do I need to add some other option so that I get can get e.g.
> printf(3)?

Completion operates on a single word under normal circumstances.  In
order to get the manual from section 3, you have to place the section
number in the word preceding the one you are currently completing.
Although it's not impossible to get completion to insert "3 printf" or
"--sections=3 printf", that's replacing one word with two, which
potentially messes up menu completion etc. later.  That is, pressing
TAB repeatedly won't do what you expect any longer.



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