about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/compaudit4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 833287ae6..5da864b9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-23  Clint Adams  <clint@zsh.org>
+
+	* 20847: Completion/compaudit: stop adding gratuitous
+	elements to fpath when MARK_DIRS is set.
+
 2005-02-23  Andrey Borzenkov  <bor@zsh.org>
 
 	* 20845: Src/Zle/zle_main.c, Src/Zle/zle_utils.c: fix
diff --git a/Completion/compaudit b/Completion/compaudit
index 25ba21c94..7107c2fff 100644
--- a/Completion/compaudit
+++ b/Completion/compaudit
@@ -65,10 +65,10 @@ if [[ -n $_compdir ]]; then
     _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]}