about summary refs log tree commit diff
path: root/Completion/compaudit
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 /Completion/compaudit
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.
Diffstat (limited to 'Completion/compaudit')
-rw-r--r--Completion/compaudit4
1 files changed, 2 insertions, 2 deletions
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]}