From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16948 invoked by alias); 15 Apr 2012 18:08:16 -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: 17011 Received: (qmail 6393 invoked from network); 15 Apr 2012 18:08:03 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120415110719.ZM2123@torch.brasslantern.com> Date: Sun, 15 Apr 2012 11:07:19 -0700 In-reply-to: <20120415011750.GV12165@xvii.vinc17.org> Comments: In reply to Vincent Lefevre "Re: `cd .` in non-existent directory leads into weird corner case" (Apr 15, 3:17am) References: <120327073414.ZM6783@torch.brasslantern.com> <669DD9CA-3987-4D27-B9C6-474B32B95A32@kba.biglobe.ne.jp> <20120403144327.GA16032@xvii.vinc17.org> <20120405142053.GN4925@xvii.vinc17.org> <7715C9FE-0CFA-4FFC-8B0E-E5A010A722FB@kba.biglobe.ne.jp> <20120415011750.GV12165@xvii.vinc17.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: `cd .` in non-existent directory leads into weird corner case MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 15, 3:17am, Vincent Lefevre wrote: } } I don't understand why the -c option has any effect (I couldn't } see anything in the man pages). With -f or no option at all, dir-test2.sh is being run approximately as if read by "source". With -c, it's being run as an external command, so it might not even be zsh that's executing it.