From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25588 invoked from network); 23 Feb 2005 03:36:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Feb 2005 03:36:52 -0000 Received: (qmail 31323 invoked from network); 23 Feb 2005 03:36:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Feb 2005 03:36:47 -0000 Received: (qmail 26910 invoked by alias); 23 Feb 2005 03:36:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20847 Received: (qmail 26897 invoked from network); 23 Feb 2005 03:36:40 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Feb 2005 03:36:40 -0000 Received: (qmail 30984 invoked from network); 23 Feb 2005 03:36:40 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 23 Feb 2005 03:36:37 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 5C2DA7004D; Tue, 22 Feb 2005 22:36:35 -0500 (EST) Date: Tue, 22 Feb 2005 22:36:35 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: compinit pollutes fpath when MARK_DIRS set Message-ID: <20050223033635.GA10571@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 % print $#fpath 20 % setopt markdirs % autoload -U compinit % compinit % print $#fpath 32 Index: Completion/compaudit =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/compaudit,v retrieving revision 1.8 diff -u -r1.8 compaudit --- Completion/compaudit 30 Mar 2004 16:38:04 -0000 1.8 +++ Completion/compaudit 23 Feb 2005 03:35:25 -0000 @@ -65,10 +65,10 @@ _i_addfiles=() if [[ -d $_compdir/Base/Core ]]; then # Add all the Completion subdirectories (CVS-layout) - _i_addfiles=(${_compdir}/*/*(/)) + _i_addfiles=(${_compdir}/*/*(/^M)) elif [[ -d $_compdir/Base ]]; then # Likewise (installation-layout) - _i_addfiles=(${_compdir}/*(/)) + _i_addfiles=(${_compdir}/*(/^M)) fi for _i_line in {1..$#_i_addfiles}; do _i_file=${_i_addfiles[$_i_line]}