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

Re: _man only uses $manpath



Andrej Borsenkow (Andrej.Borsenkow@xxxxxxxxxxxxxx) wrote:
> On Thu, 16 Sep 1999, Adam Spiers wrote:
> 
> > Shouldn't _man calculate man page completions using `man -w' rather
> > than $manpath?  For me, $manpath is always empty, so man doesn't
> > complete anything.
> > 
> > Is it safe to assume that `-w' is present in all sensible versions of
> > man?
> 
> No. It is not supported on our system at least. And here I do need
> $MANPATH.

Hmm.  What about man --path?  Maybe only the GNU man has it.

Sounds like we need some way of intelligently figuring out a solution
for both scenarios.  Does `man -w' return an error of some sort on
your system which we could test for?



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