From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2210 invoked by alias); 29 Sep 2014 15:35:53 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33281 Received: (qmail 21565 invoked from network); 29 Sep 2014 15:35:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GzdUYEL1uGOmIsnNvLIXeP2Vh8c2RER4SmUuT76HqNQ=; b=sFv1E9POlxJQ7Nqs7LalNpE3cdQDCMh/CcyHQw/FK8wlXg/9YQT/+a6MuaYtXt6/Ip n9kkgMRbPGKz2ADhhCtlJbesnks2AecgCHYA3pbmcvwPm3hqCW1OWN7x4UHL5ZLB8ppJ nluC11F97KUIBHSpW9JwUYwVWRWwf3quRv7PLQLhNiWrV1TJ9UAomRP9QpmmLfN+szpR MocvHToAYAfsAfhSnAHJsivWG7fznoK+dTY1NMVNSwe1+2iKNbJadlXVPsgzTaLIcmVd rUg5eJf7yJSuBreJnGMCA5wgUpjQhZon/K5TYdbIC8nrAM7pTBxcKGnMdE7gS29tcswE W65g== MIME-Version: 1.0 X-Received: by 10.50.4.9 with SMTP id g9mr51967712igg.42.1412004943340; Mon, 29 Sep 2014 08:35:43 -0700 (PDT) Date: Mon, 29 Sep 2014 17:35:43 +0200 Message-ID: Subject: somewhat unexpected abortion error From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 % 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