zsh-workers
 help / color / mirror / code / Atom feed
* somewhat unexpected abortion error
@ 2014-09-29 15:35 Mikael Magnusson
  2014-09-29 15:58 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Mikael Magnusson @ 2014-09-29 15:35 UTC (permalink / raw)
  To: zsh workers

% 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


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

end of thread, other threads:[~2014-09-29 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29 15:35 somewhat unexpected abortion error Mikael Magnusson
2014-09-29 15:58 ` 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).