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

Re: example startup file



In the last episode (May 09), Andrej Borsenkow said:
> On Tue, 8 May 2001, Oliver Kiddle wrote:
> >  manpath=($X11HOME/man /usr/man /usr/lang/man /usr/local/man)
> >  export MANPATH
> 
> That's bad and does not belong to generic .zshrc. It blindly
> overwrites systems defaults and should be removed. The location of
> man pages is too system-dependent. And if anybody installs its own
> man pages, he knows how to access them :-)

If anything, use 

whence manpath 2>/dev/null && export MANPATH=`manpath`

which will use the system-generated manpath if one is available.

-- 
	Dan Nelson
	dnelson@xxxxxxxxxxxx



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