From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4737 invoked from network); 14 Nov 1998 05:51:58 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Nov 1998 05:51:58 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id AAA04289; Sat, 14 Nov 1998 00:49:52 -0500 (EST) Resent-Date: Sat, 14 Nov 1998 00:49:52 -0500 (EST) From: "Bart Schaefer" Message-Id: <981113214816.ZM19988@candle.brasslantern.com> Date: Fri, 13 Nov 1998 21:48:16 -0800 In-Reply-To: <199811132119.VAA00557@athenaeum.demon.co.uk> Comments: In reply to Phil Pennock "bug 3.1.5 symlinks & cd" (Nov 13, 9:19pm) References: <199811132119.VAA00557@athenaeum.demon.co.uk> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Phil Pennock , zsh-workers@math.gatech.edu Subject: Re: bug 3.1.5 symlinks & cd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"i8WR63.0.y21.0eHJs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4629 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Nov 13, 9:19pm, Phil Pennock wrote: } Subject: bug 3.1.5 symlinks & cd } } Using a stock zsh-3.1.5, there seems to be some problem with completion } using one interpretation of a directory tree with symlinks, and cd using } another. This isn't new. It behaves the same way in 3.0.5. `setopt chaselinks' will make the effect go away. There is one difference between 3.0.5 and 3.1.5 with chaselinks; here's 3.0.5: zagzig[45] cd /tmp/test/bar zagzig[46] pwd /tmp/test/foo/bar zagzig[47] print -P %~ /tmp/test/bar Now 3.1.5: zagzig<22> cd /tmp/test/bar zagzig<23> pwd /tmp/test/foo/bar zagzig<24> print -P %~ /tmp/test/foo/bar Apparently chaselinks didn't affect prompt expansion in 3.0.5, but does in 3.1.5. This may (?) have something to do with un-special-izing $PWD. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com