Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problem w/zsh-2.6-beta13-hzoli13 as login shell (fixed)



>> On Thu, 7 Mar 1996 11:38:47 -0500,
>> Danek Duvall(DD) wrote:

DD> One other problem/feature I noticed -- hzoli13 doesn't like to use
DD> =1, =2, etc as identifiers to directories on the stack as I'm used
DD> to from older versions.  Is this now not allowed, and ~1, ~2, etc
DD> preferred?

Yes. This is due to Zefram's "big named directory patch" of message
711 (see below), though I can't recall any details of the July
discussion at the moment. You can still use `-1', `-2', though, so I
don't see it as a big loss. 

  -mb-


------- Start of forwarded message -------
Resent-Date: Sat, 6 Jan 1996 07:57:27 -0500 (EST)
From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
Message-Id: <20152.199601061257@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Big named directory patch
To: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
Date: Sat, 6 Jan 1996 12:57:29 +0000 (GMT)
Resent-Message-Id: <"7uZeh.0.Vu2.o6dxm"@euclid>
Resent-From: zsh-workers@xxxxxxxxxxxxxxx
Resent-Sender: zsh-workers-request@xxxxxxxxxxxxxxx

-----BEGIN PGP SIGNED MESSAGE-----

The patch below is compressed due to being 45K in size.  It primarily
changes the organisation of named directories from a simple array to a
hash table.  This simplifies a lot of code, which can now use the
preexisting generic hash table code.  Lookup of named directories is
slightly speeded up as a result.  Reverse lookup, for %~ prompt
sequences, is slightly slower, but it's really not noticeable.

It also changes ~ and = expansion, in the ways discussed in July.
Basically, = expansion now has nothing to do with the directory stack,
so use ~n in place of =n.  =- is now ~-0.  See the man page patch for
details.

 -zefram

[patch elided]

------- End of forwarded message -------



Messages sorted by: Reverse Date, Date, Thread, Author