From 23f6fa7244c24f56b00c1eba2dab0c0178662e18 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Wed, 23 Feb 2005 03:39:27 +0000 Subject: * 20847: Completion/compaudit: stop adding gratuitous elements to fpath when MARK_DIRS is set. --- ChangeLog | 5 +++++ Completion/compaudit | 4 ++-- 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 + + * 20847: Completion/compaudit: stop adding gratuitous + elements to fpath when MARK_DIRS is set. + 2005-02-23 Andrey Borzenkov * 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]} -- cgit 1.4.1