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

somewhat unexpected abortion error



% typeset -r PWD
% cd /; echo hi
zsh: read-only variable: PWD

(echo hi is not executed)
This might be a bit unexpected (I didn't expect it), but then again I
guess you can only get yourself into this particular mess. $PWD is
still the previous value but the output of `pwd' is correct and the
working directory is changed.

-- 
Mikael Magnusson



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