From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29372 invoked from network); 26 Mar 2006 18:40:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Mar 2006 18:40:50 -0000 Received: (qmail 68807 invoked from network); 26 Mar 2006 18:40:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Mar 2006 18:40:42 -0000 Received: (qmail 19526 invoked by alias); 26 Mar 2006 18:40:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10086 Received: (qmail 19516 invoked from network); 26 Mar 2006 18:40:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Mar 2006 18:40:35 -0000 Received: (qmail 67819 invoked from network); 26 Mar 2006 18:40:35 -0000 Received: from mta08-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by a.mx.sunsite.dk with SMTP; 26 Mar 2006 18:40:35 -0000 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20060326184034.LISO29040.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Sun, 26 Mar 2006 19:40:34 +0100 Received: from pwslaptop.csr.com ([82.6.97.150]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20060326184034.RFFQ9667.aamtaout01-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Sun, 26 Mar 2006 19:40:34 +0100 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.4/8.13.4) with ESMTP id k2QIeOY2004527; Sun, 26 Mar 2006 19:40:24 +0100 Received: from pwslaptop.csr.com (pws@localhost) by pwslaptop.csr.com (8.13.4/8.13.4/Submit) with ESMTP id k2QIeOMG004524; Sun, 26 Mar 2006 19:40:24 +0100 Message-Id: <200603261840.k2QIeOMG004524@pwslaptop.csr.com> X-Authentication-Warning: pwslaptop.csr.com: pws owned process doing -bs From: Peter Stephenson To: Zsh User , pws@pwslaptop.csr.com Subject: Re: cd - and $OLDPWD, bug in the manual? In-Reply-To: Message from Bart Schaefer of "Sat, 25 Mar 2006 23:36:43 -0800." <060325233643.ZM6802@torch.brasslantern.com> Date: Sun, 26 Mar 2006 19:40:24 +0100 Bart Schaefer wrote: > The manual DOESN'T say that you can have any useful effect by assigning > OLDPWD. You can assign to PWD as well, but that doesn't cause a "cd" > to magically occur. We could make OLDPWD settable by making it special, though I don't think we're morally obliged to. Spoofing the previous directory sort of makes sense. Spoofing the current directory doesn't, at least not without opening a large can of worms. -- Peter Stephenson Web page still at http://www.pwstephenson.fsnet.co.uk/