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

Re: `cd .` in non-existent directory leads into weird corner case



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