From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5351 invoked from network); 21 Mar 2004 19:13:54 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Mar 2004 19:13:54 -0000 Received: (qmail 17365 invoked by alias); 21 Mar 2004 19:13:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19670 Received: (qmail 17305 invoked from network); 21 Mar 2004 19:13:46 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 21 Mar 2004 19:13:46 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 21 Mar 2004 19:13:46 -0000 Received: (qmail 20735 invoked from network); 21 Mar 2004 19:13:45 -0000 Received: from lorien.emufarm.org (66.93.131.57) by a.mx.sunsite.dk with SMTP; 21 Mar 2004 19:13:44 -0000 Received: from lorien.emufarm.org (localhost [127.0.0.1]) by lorien.emufarm.org (8.12.7/8.12.7) with ESMTP id i2LJDH1t024672 for ; Sun, 21 Mar 2004 11:13:17 -0800 Received: (from duvall@localhost) by lorien.emufarm.org (8.12.7/8.12.7/Submit) id i2LJDGCS024671 for zsh-workers@sunsite.dk; Sun, 21 Mar 2004 11:13:16 -0800 Date: Sun, 21 Mar 2004 11:13:16 -0800 From: Danek Duvall To: zsh-workers@sunsite.dk Subject: Aha! (duplicate fpath entries) Message-ID: <20040321191316.GE17245@lorien.emufarm.org> Mail-Followup-To: Danek Duvall , zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Back in users/6698, I complained that compaudit was duplicating entries in $fpath, but I hadn't traced down why. It turns out it's a typo: --- compaudit.orig Sun Oct 26 17:49:29 2003 +++ compaudit Sun Mar 21 11:09:33 2004 @@ -64,7 +64,7 @@ # Likewise (installation-layout) _i_addfiles=(${_compdir}/*(/)) fi - for _i_line in {1..$#i_addfiles}; do + for _i_line in {1..$#_i_addfiles}; do _i_file=${_i_addfiles[$_i_line]} [[ -d $_i_file && -z ${fpath[(r)$_i_file]} ]] || _i_addfiles[$_i_line]= Thanks, Danek