From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id UAA27773 for ; Mon, 17 Jul 1995 20:15:50 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA02214 (5.65c/Gatech-10.0-IDA for ); Mon, 17 Jul 1995 06:13:23 -0400 Received: by math (5.x/SMI-SVR4) id AA11559; Mon, 17 Jul 1995 06:07:55 -0400 Resent-Date: Mon, 17 Jul 95 11:08:18 +0100 Old-Return-Path: Message-Id: <1813.9507171008@pyro.swan.ac.uk> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: Compctl fixes & a query In-Reply-To: "A.Main@dcs.warwick.ac.uk"'s message of "Sun, 16 Jul 95 15:33:59 BST." <14608.199507161434@stone.dcs.warwick.ac.uk> Date: Mon, 17 Jul 95 11:08:18 +0100 From: P.Stephenson@swansea.ac.uk X-Mts: smtp Resent-Message-Id: <"PIkhg1.0.Tq2.vPZ2m"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/218 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu A.Main@dcs.warwick.ac.uk wrote: > On a separate matter, does anyone ever use the numerical equals > expansion? Yes, but tildes would be more in keeping with other syntax for directories (~+ and ~- being sort of tied to the directory stack anyway): also, there's no good reason for associating this behaviour with the noequals option as is currently the case. If implemented properly it would even allow trailing characters after a number to be a separate directory name, since only a / or end of word would be a separator, unlike the present case with =. At the moment, it doesn't look like ~ works at all, i.e. even with `hash -d 1 dir', so there aren't compatibility problems there (in fact there's a bug, since the directory will appear as ~1 in the stack). We could possibly kludge = followed by a slash or space where is not a command for the time being, but maybe going straight to tildes is the right thing. Now I've got my working directory called ~1, which I can't alter... -- Peter Stephenson Tel: +44 1792 205678 extn. 4461 WWW: http://python.swan.ac.uk/~pypeters/ Fax: +44 1792 295324 Department of Physics, University of Wales, Swansea, Singleton Park, Swansea, SA2 8PP, U.K.