From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26572 invoked from network); 18 Nov 1998 23:06:30 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 18 Nov 1998 23:06:30 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id SAA04492; Wed, 18 Nov 1998 18:01:58 -0500 (EST) Resent-Date: Wed, 18 Nov 1998 18:01:58 -0500 (EST) From: Phil Pennock Message-Id: <199811182241.WAA00618@athenaeum.demon.co.uk> Subject: Re: bug 3.1.5 symlinks & cd In-Reply-To: <199811180909.KAA14049@beta.informatik.hu-berlin.de> from Sven Wischnowsky at "Nov 18, 98 10:09:34 am" To: wischnow@informatik.hu-berlin.de (Sven Wischnowsky) Date: Wed, 18 Nov 1998 22:41:13 +0000 (GMT) Cc: zsh-workers@math.gatech.edu X-Disclaimer-1: Any views expressed in this message, where not explicitly X-Disclaimer-2: attributed otherwise, are mine and mine alone. Such views X-Disclaimer-3: do not necessarily coincide with those of any organisation X-Disclaimer-4: or company with which I am or have been affiliated. X-Phase-of-Moon: The Moon is New X-Mailer: ELM [version 2.4ME+ PL37 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"mUFbP.0.461.b7rKs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4672 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Typing away merrily, Sven Wischnowsky produced the immortal words: > A (partial) solution is to use a shell function, like this: [...] > So the question is: do you think that this is enough (probably with > some more work on the function) or should we build this into the shell? Since you asked ... a function is fine, provided either: 1) that the function/compctl is made standard for future releases; 2) by default, 'chaselinks' is set and a user needs to explicitly unset this. The former /requires/ extended installation instructions, "to get a working shell, you will need this here and that there". The latter would provoke a lot of "why doesn't this work anymore" and probably a FAQ addition (oh joy). The issue that the changes in FS semantics is introduced by the shell and then not carried through to completion (no pun intended, honest!). The presented directory could affect arbitrary arguments in arbitrary commands, and to completely 'fix' would require scanning all arguments... this gets messy. Uhm.. a) I've just put 'setopt chaselinks' into my .zshrc b) If this doesn't make sense, I'm blaming it on the bang to my head which resulted in me getting staples put in by a nurse yesterday -- I'm not supposed to be using a computer. :^( -- Phil 'your blood looks interesting coagulating on your glasses' Pennock