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

Re: TRAPZERR() in chpwd()



On Mon, May 01, 2000 at 06:22:16PM +0000, Bart Schaefer wrote:
> zagzig% echo $ZSH_VERSION
> 3.0.6-test-1
> zagzig% TRAPZERR () { echo exit code $?; }
> zagzig% chpwd () { [ -h $PWD ] && echo symlink; true; }
> zagzig% cd /tmp
> zagzig% cd /hosts
> symlink
> zagzig% 
> 
> This may be a fix that went in to 3.0.x and was never propagated to 3.1.x,
> or it may be a bug that was introduced in 3.0.x and fixed in 3.1.x.  I'm
> not sure which at this point.

I believe the change must've come after 3.1.6, since it exhibits the same
behaviour as 3.0.7 in my experience.  It's only 3.1.7-pre-1 and (some?)
development versions leading up to it.

-- 
Paul Ackersviller



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