Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `cd .` in non-existent directory leads into weird corner case
- X-seq: zsh-users 16946
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: `cd .` in non-existent directory leads into weird corner case
- Date: Mon, 2 Apr 2012 11:52:02 +0200
- Cc: zsh-users@xxxxxxx
- 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==
- In-reply-to: <120327073414.ZM6783@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAD77+gT4LXRyTL8V1UZrNfCohyJ9peTNdfZ=G7Q-sJcDnyNE8Q@mail.gmail.com> <120327073414.ZM6783@torch.brasslantern.com>
On Tue, Mar 27, 2012 at 16:34, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> However, I've always been a little puzzled about the decision to set
> $PWD to "." in this case. Bash 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author