Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compinit as function?
- X-seq: zsh-workers 6037
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: compinit as function?
- Date: Wed, 14 Apr 1999 14:38:02 +0200
- In-reply-to: ""Andrej Borsenkow""'s message of "Wed, 14 Apr 1999 16:23:35 DFT." <009201be8671$9e448670$21c9ca95@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Andrej Borsenkow" wrote:
> Is there any real reason, why compinit cannot be a function?
One reason is that it wastes memory, since it's quite large and you only
use it once.
> Another possibility is to add the global flag to typeset: typeset -g. Can it
> be useful in other cases?
I've been thinking about this. It should be easy to add.
$testhash is just what it's name suggests. It was added because there's
currently no other way of checking that special associative arrays work
properly (in particular being restored after `testhash=... cmd'). It will
eventually disappear.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author