From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26181 invoked from network); 14 Apr 1999 13:02:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Apr 1999 13:02:29 -0000 Received: (qmail 8021 invoked by alias); 14 Apr 1999 13:02:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6037 Received: (qmail 8014 invoked from network); 14 Apr 1999 13:02:15 -0000 Message-Id: <9904141238.AA37765@ibmth.df.unipi.it> To: "ZSH workers mailing list" Subject: Re: compinit as function? In-Reply-To: ""Andrej Borsenkow""'s message of "Wed, 14 Apr 1999 16:23:35 DFT." <009201be8671$9e448670$21c9ca95@mowp.siemens.ru> Date: Wed, 14 Apr 1999 14:38:02 +0200 From: Peter Stephenson "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 Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy