diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-26 13:03:24 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-26 13:03:24 +0000 |
commit | 727912d1cbbc5593a870941d26f3234d49b45847 (patch) | |
tree | bafb40940f51a81c534415bf93b42e7e25b43e6f /Completion/compaudit | |
parent | aa99b19c088324b17c0c5e1caee4fc3b5777deab (diff) | |
download | zsh-727912d1cbbc5593a870941d26f3234d49b45847.tar.gz zsh-727912d1cbbc5593a870941d26f3234d49b45847.tar.xz zsh-727912d1cbbc5593a870941d26f3234d49b45847.zip |
handle sub-sub-directories of $_compdir as in the CVS-layout (14107)
Diffstat (limited to 'Completion/compaudit')
-rw-r--r-- | Completion/compaudit | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/compaudit b/Completion/compaudit index 9cab88bbf..f03949822 100644 --- a/Completion/compaudit +++ b/Completion/compaudit @@ -55,11 +55,11 @@ if [[ -n $_compdir ]]; then # Too few files: we need some more directories, or we need to check # that all directories (not just Base) are present. _i_addfiles=() - if [[ $_compdir = */Base ]]; then - # Add all the Completion subdirectories - _i_addfiles=(${_compdir:h}/*(/)) + if [[ -d $_compdir/Base/Core ]]; then + # Add all the Completion subdirectories (CVS-layout) + _i_addfiles=(${_compdir}/*/*(/)) elif [[ -d $_compdir/Base ]]; then - # Likewise + # Likewise (installation-layout) _i_addfiles=(${_compdir}/*(/)) fi for _i_line in {1..$#i_addfiles}; do |