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

Re: completion for man



Andy Spiegl <zsh.Andy@xxxxxxxxx>:
[...]
> > You can even do:
> > zstyle ':completion:*:manuals.(^1*)' insert-sections true
> > ...to add the section number for all sections but section number one.
> Hm, that part doesn't seem to work...
> 
> condor:~>man 2 <TAB>
> interactive: []
> - manual page, section 1 -
> \[                                3ddesk                                  3ddeskd                    
> 411toppm                          822-date                                a2p                        
> a2ping                            a2ps                                    a52dec                     
> a5booklet                         aa3d                                    aaflip                     
> ...
> 
> Shouldn't it be listing only pages out of section 2 here?

Yes it should. And it does for me.
Have you tried the commands from 'zsh -f'?
I just checked it, and it does work (zsh v4.3.2 [debian/linux]).

Regards, Frank



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