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

Re: zsh-5.2-test-3



Ray Andrews wrote on Sun, Dec 11, 2016 at 12:19:06 -0800:
> I wonder if it would be possible to tweek things so that 'man XXX'
> always gave me the appropriate information for whatever version of the
> command was actually in play regardless of it's provenance.
> I remember last year crashing into  the fact that there are several
> versions of some commands, so one wants to be sure.

You need to set $MANPATH like you set $PATH.

Man pages generally document their version (in zsh it's in the left
footer), so you can always check that the foo(1) man page matches `foo
--version`.



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