zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: compinit pollutes fpath when MARK_DIRS set
Date: Tue, 22 Feb 2005 22:36:35 -0500	[thread overview]
Message-ID: <20050223033635.GA10571@scowler.net> (raw)

% 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]}


                 reply	other threads:[~2005-02-23  3:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050223033635.GA10571@scowler.net \
    --to=clint@zsh.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).