zsh-workers
 help / color / mirror / code / Atom feed
* compinit pollutes fpath when MARK_DIRS set
@ 2005-02-23  3:36 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-02-23  3:36 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-23  3:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23  3:36 compinit pollutes fpath when MARK_DIRS set Clint Adams

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).