Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Assignments to nameddirs[]
- X-seq: zsh-workers 13094
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Assignments to nameddirs[]
- Date: Fri, 27 Oct 2000 15:35:52 +0000
- In-reply-to: <200010260836.KAA02256@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200010260836.KAA02256@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Oct 26, 10:36am, Sven Wischnowsky wrote:
}
} Bart Schaefer wrote:
}
} > The parameter module "knows" that named directories must begin
} > with a slash character, and normally doesn't let you assign such values.
} > This can lead to some oddities like not being able to assign the value of
} > a parameter to itself:
}
} Hm. Should we change that?
Possibly so.
} I don't know why I added that test anymore. Maybe I somehow had the
} impression that hash does the same? Hm.
It's probably because such a test is used to decide whether a reference
to a parameter with ~paramname will cause an entry to be made in the
nameddir table. But assignment to the nameddirs special hash is more
like using the "hash" command than it is like using ~paramname.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author