From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26394 invoked from network); 14 Apr 1999 13:34:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Apr 1999 13:34:35 -0000 Received: (qmail 9210 invoked by alias); 14 Apr 1999 13:14:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6038 Received: (qmail 9203 invoked from network); 14 Apr 1999 13:14:25 -0000 From: "Andrej Borsenkow" To: "Peter Stephenson" , "ZSH workers mailing list" Subject: RE: compinit as function? Date: Wed, 14 Apr 1999 17:13:41 +0400 Message-ID: <00a301be8678$9e0bbf00$21c9ca95@mowp.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: <9904141238.AA37765@ibmth.df.unipi.it> Importance: Normal > "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. > It is not as large. The main part are defines for compdef and compconf :-) And may be more options to compinit can be useful in future ... compinit rehash to reread new fpath as example? If Zsh will ever be able to execute functions on access to variables ... /andrej