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 16967
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: `cd .` in non-existent directory leads into weird corner case
- Date: Tue, 3 Apr 2012 11:51:47 +0200
- Cc: Peter Stephenson <Peter.Stephenson@xxxxxxx>, 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; bh=WWiDZwc6kaOGEtKO/E4ThyEb4qq7HgNzlJTZyf4gB0A=; b=GMOdZFNHg/yCBseaCWBh4vOdnn+MJTqnAEbGvnkC86KnoqDm0rOO26lva5oO8wlAFO MZDQPhUW5TMD+OhEQGu9zNA5pBJuiLiMKsAEOHnVb02xVRnRhkWaphk0xqMUYUvV/wSt 0dsmfSsPNIUjNyXb3Ec5wwpSCGf0xofB3OsENjAjMHuaVSS9Ryuy/KktU9McHmP4e1Oq nivaZuacseQ5fAJK6SoaSvZjpyB7DsfBLXtAKgy5A0QHwaCu8Xs5yGwrGMYxQL+mBgYe TozgknRUmNmc5wD/CR99bnKUsHwYWBfg8J19SEW6lZP3oWs64qwQPHI5tLcJZ3U7dtqx 7kXA==
- In-reply-to: <CAHYJk3Rp-GkAAnmqdJNm0NshETSceZsbAUMBwBo=is60sm0KCw@mail.gmail.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> <CAD77+gSn9zrTHDMj=zi_Y5M6b86pOizkUin8zVVEAU1aTfuKfw@mail.gmail.com> <20120402111219.62cbd0c7@pwslap01u.europe.root.pri> <CAHYJk3QPQC-P8wbpMJDkxvdww-Lar3L+AoaHzM8rh_rO=Z=zYA@mail.gmail.com> <20120402120008.0ed7e583@pwslap01u.europe.root.pri> <CAHYJk3Rp-GkAAnmqdJNm0NshETSceZsbAUMBwBo=is60sm0KCw@mail.gmail.com>
On Mon, Apr 2, 2012 at 13:10, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> One (semi-)realistic case I came up with, one shell sits in a
> directory, someone else first moves the directory, then deletes it,
> then the shell tries to 'cd ..'. In this case I would like it to end
> up in the new parent directory as it does now [1], not the old
> "$PWD:h". (with chasedots/-P) (and even if I did 'cd .' first for some
> weird reason).
If feasible, I agree that this would be nice.
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author