Subject: Re: pkg_add trouble
To: Quentin Garnier <netbsd@quatriemek.com>
From: Simon Sandlund <orbb@bredband.net>
List: netbsd-users
Date: 09/20/2002 16:13:35
On Fri, 20 Sep 2002 16:00:07 +0200
Quentin Garnier <netbsd@quatriemek.com> wrote:

> Le Fri, 20 Sep 2002 15:53:33 +0200
> Simon Sandlund a écrit :
> > Can someone explain this?
> [...]
> > It's like it doesn't sense the PKG_PATH variable or something.
> > I'm using the shell zsh. I don't have this problem with tcsh.
> > Thanks in advance.
> 
> Is PKG_PATH exported (using the export builtin) ? This part is quite
> different from tcsh, where setenv is used.
> 
> cube
> 
> -- 
> That's how I did it, Anton. I never saved anything
> for the swim back.
> Vincent/Jerome, in Gattaca.

Thanks, exporting it worked. I thought you only had to do "var=value" to
get it working :)

I solved it by putting "setopt allexport" at the beginning of my .zshenv, and
then unsetting it at the end.

Simon Sandlund