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

Re: ksh Emulation Not Clearing Envariables



On Tue, 11 May 2004, Chris Jepeway wrote:

>[I wrote:]
> > 	CDPATH=/tmp cd foo
> > 	echo $CDPATH
> >
> > should output "/tmp", because "cd" is a special built-in.
> Just to be silly, I'll point out that "cd" doesn't
> appear on the list of special built-ins
> 	
> An oversight?

Yes, on my part.  I didn't bother to check the list, I just picked a 
builtin that pays attention to an environment variable.



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