From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6602 invoked by alias); 2 Apr 2012 09:52:41 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16946 Received: (qmail 8538 invoked from network); 2 Apr 2012 09:52:29 -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=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.215.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=JFf/Xbwy7j+PMhcfJQXgwPGulnCS8Mx9e4R14BritMI=; b=uwlkHdiooUZ/dKLO64Es6ZuUUvQP0mXwE4u3CS7PV7DFOKwH7vKQd4TJN1yHrfXam8 6ml1PWhQ7IM19/buTqNU7eTOv8XYAuPaHWnEpmBHde3oSnajOYYqU95fHLCEXp+BffS9 wQfb2TJiOQpI0te4E50+XXHGs/ADpMlkP9e2YzkpX/yrQxQB+6Sd7Ha1O9/AqHAabsRg XPAY6+N82qGB0dIhIX7XNfJ0W47UkYWIrYhRlib0mKQT1mZKVKw0XhXaSlj7i0ddpPpx b6ywWO9pscTzzlnXS6fmxZSrtZEgCvCswi9daEP03X1kzYGqidRMKdczth0/BIV2LX8v 4PpA== MIME-Version: 1.0 In-Reply-To: <120327073414.ZM6783@torch.brasslantern.com> References: <120327073414.ZM6783@torch.brasslantern.com> From: Richard Hartmann Date: Mon, 2 Apr 2012 11:52:02 +0200 Message-ID: Subject: Re: `cd .` in non-existent directory leads into weird corner case To: Bart Schaefer Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Mar 27, 2012 at 16:34, Bart Schaefer wr= ote: > However, I've always been a little puzzled about the decision to set > $PWD to "." in this case. =C2=A0Bash remembers the relative location: Just to make sure this does not get lost, do we agree that not changing $PWD to a literal dot would make sense? Escalating the ENOENT to the user is probably the best approach. Richard