From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26745 invoked from network); 24 Jun 1999 16:57:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Jun 1999 16:57:40 -0000 Received: (qmail 29944 invoked by alias); 24 Jun 1999 16:57:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6835 Received: (qmail 29936 invoked from network); 24 Jun 1999 16:57:34 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: Problem with autoloading completion functions Date: Thu, 24 Jun 1999 20:57:27 +0400 Message-ID: <006401bebe62$a37dddc0$21c9ca95@mow.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 Importance: Normal I was afraid it happens sometimes ... I had this 'autoload $^fpath/*(N:t)' in my .zshrc ... and all worked nice and fine ... until I suddenly found that subscript does not work as expected. bor@itsrm2:~%> zsh -f itsrm2% bindkey -e itsrm2% source /tools/share/zsh/functions/compinit itsrm2% autoload $^fpath/*(N:t) itsrm2% zmodload parameter itsrm2% print $parameters[ksh beeps Now, how many users do have the same in .zshrc? This autoloading was suggested by some of Zsh docs (may be FAQ?) I agree, that it is nice trick - you can simply get all functions at the *end* of .zshrc as I had it. /andrej