Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: named directory bug
- X-seq: zsh-workers 16205
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: named directory bug
- Date: Fri, 02 Nov 2001 10:21:42 +0000
- In-reply-to: "Vincent Lefevre"'s message of "Thu, 01 Nov 2001 19:35:53 +0100." <20011101193553.A23303@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Vincent Lefevre wrote:
> On Thu, Nov 01, 2001 at 17:43:07 +0000, Bart Schaefer wrote:
> > That's odd. What do you see if you run this function?
> >=20
> > tryit() {
> > hash -d
> > setopt localoptions xtrace
> > eval "local +h nameddirs; nameddirs=3D(${(@kvq)nameddirs})"
> > }
>
> tmparch=3D/global/greux/lefevre/private/tmparch
> +tryit:3> eval local +h nameddirs; nameddirs=(out) local +h
> nameddirs; nameddirs=(/users/spaces/lefevre/private/out) local +h
You have RCEXPANDPARAM turned on. Turn the setopt into
emulate -L zsh
setopt xtrace
and it should work as expected.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author