Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compctl fixes & a query
- X-seq: zsh-workers 218
- From: P.Stephenson@xxxxxxxxxxxxx
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Compctl fixes & a query
- Date: Mon, 17 Jul 95 11:08:18 +0100
- In-reply-to: "A.Main@xxxxxxxxxxxxxxxxx"'s message of "Sun, 16 Jul 95 15:33:59 BST." <14608.199507161434@xxxxxxxxxxxxxxxxxxxxxxx>
A.Main@xxxxxxxxxxxxxxxxx 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 =<num>. At the moment, it
doesn't look like ~<num> 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 =<num> followed by a slash or space where
<num> 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 <P.Stephenson@xxxxxxxxxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author