From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18479 invoked by alias); 5 Apr 2012 14:27:47 -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: 16986 Received: (qmail 19703 invoked from network); 5 Apr 2012 14:27:44 -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.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Thu, 5 Apr 2012 16:20:53 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: `cd .` in non-existent directory leads into weird corner case Message-ID: <20120405142053.GN4925@xvii.vinc17.org> Mail-Followup-To: zsh-users@zsh.org References: <120327073414.ZM6783@torch.brasslantern.com> <669DD9CA-3987-4D27-B9C6-474B32B95A32@kba.biglobe.ne.jp> <20120403144327.GA16032@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20) On 2012-04-05 02:03:11 +0900, Jun T. wrote: > On 2012/04/03, at 23:43, Vincent Lefevre wrote: > > mv ../../tmpdir1 ../../tmpdir3 > > pwd > > > > /tmp/tmpdir3/tmpdir2 > > In my case this happens only by 'pwd -P'. > I guess you have CHASE_LINKS set. I usually do such tests with the default configuration, e.g. after "zsh -f" or by putting the commands in a file