zsh-users
 help / color / mirror / code / Atom feed
* zsh-4.0.1-pre4 : manpath and MANPATH
@ 2001-05-18 14:00 Richard Curnow
  2001-05-18 15:13 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Curnow @ 2001-05-18 14:00 UTC (permalink / raw)
  To: Zsh users list

zshparam.1 says that setting manpath will change MANPATH and vice versa.
If I change MANPATH, I don't see manpath getting changed.

Worse, I used to set MANPATH in .zshenv.  This results in manpath being empty.
If I then do

  man <Tab>

the competion system seems to be saying "hey, manpath is empty so let's set
both it and MANPATH to a default value".  Result : my original MANPATH setting
is trashed.

I've had to set up manpath instead of MANPATH now in my .zshenv, which means
that I can't go back to v3.1.5 conveniently.

Conversely, it looks like setting PATH changes the value of path.  I haven't
tried assigning to path to see if it changes PATH.

Is the functionality to change manpath when MANPATH is modified missing?  I'd
really like to continue setting MANPATH if I can.

Thanks
Richard

-- 
Richard Curnow---by day : SuperH Core Architecture at STMicroelectronics
curnowr@bristol.st.com---------www.superh.com-------------www.st.com----
and by night >>---richard.curnow@go.to---http://go.to/richard.curnow/---


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: zsh-4.0.1-pre4 : manpath and MANPATH
  2001-05-18 14:00 zsh-4.0.1-pre4 : manpath and MANPATH Richard Curnow
@ 2001-05-18 15:13 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2001-05-18 15:13 UTC (permalink / raw)
  To: Richard Curnow, Zsh users list

On May 18,  3:00pm, Richard Curnow wrote:
}
} zshparam.1 says that setting manpath will change MANPATH and vice versa.
} If I change MANPATH, I don't see manpath getting changed.

It works for me:

schaefer[456] MANPATH=x:y:z ; echo $manpath                         4.0.1-pre-4
x y z

} Worse, I used to set MANPATH in .zshenv.  This results in manpath being
} empty.

What is it that you are (were) assigning to MANPATH when this happens?

} I've had to set up manpath instead of MANPATH now in my .zshenv, which
} means that I can't go back to v3.1.5 conveniently.

That statement confuses me a lot.  MANPATH and manpath have been tied to
each other for a very long time; here's the oldest version of zsh I have
lying around:

zagzig% echo $VERSION
zsh 2.4.306 beta
zagzig% MANPATH=x:y:z ; echo $manpath
x y z
zagzig% manpath=(p d q); echo $MANPATH
p:d:q


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-18 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-18 14:00 zsh-4.0.1-pre4 : manpath and MANPATH Richard Curnow
2001-05-18 15:13 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).