about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-02-23 03:39:27 +0000
committerClint Adams <clint@users.sourceforge.net>2005-02-23 03:39:27 +0000
commit23f6fa7244c24f56b00c1eba2dab0c0178662e18 (patch)
treeefb80282b375af143df5b22036e375021be2811b
parent70f927906088e90f25442e236d7d5e063bfc18ff (diff)
downloadzsh-23f6fa7244c24f56b00c1eba2dab0c0178662e18.tar.gz
zsh-23f6fa7244c24f56b00c1eba2dab0c0178662e18.tar.xz
zsh-23f6fa7244c24f56b00c1eba2dab0c0178662e18.zip
* 20847: Completion/compaudit: stop adding gratuitous elements to fpath when MARK_DIRS is set.
-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]}