diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 13:04:04 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 13:04:04 +0000 |
commit | 3d7263ff67534b5d533c1d78eca8d648b72bca93 (patch) | |
tree | d7c3f8d1fbaf58d52b092ef241dc37db974c370d /Completion/compaudit | |
parent | c6686513ef7eb29cbe4ed4cc27076d13b2e02ab5 (diff) | |
download | zsh-3d7263ff67534b5d533c1d78eca8d648b72bca93.tar.gz zsh-3d7263ff67534b5d533c1d78eca8d648b72bca93.tar.xz zsh-3d7263ff67534b5d533c1d78eca8d648b72bca93.zip |
after-move cleanup
Diffstat (limited to 'Completion/compaudit')
-rw-r--r-- | Completion/compaudit | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Completion/compaudit b/Completion/compaudit index 4ea31af58..9cab88bbf 100644 --- a/Completion/compaudit +++ b/Completion/compaudit @@ -43,7 +43,7 @@ fpath=( $* ) (( $+_compdir )) || { local _compdir=${fpath[(r)*/$ZSH_VERSION/*]} [[ -z $_compdir ]] && _compdir=$fpath[1] - [[ -d $_compdir/../Core ]] && _compdir=${_compdir:h} + ### [[ -d $_compdir/../Base ]] && _compdir=${_compdir:h} } _i_wdirs=() @@ -51,14 +51,14 @@ _i_wfiles=() _i_files=( ${^~fpath:/.}/^([^_]*|*~|*.zwc)(N) ) if [[ -n $_compdir ]]; then - if [[ $#_i_files -lt 20 || $_compdir = */Core || -d $_compdir/Core ]]; then + if [[ $#_i_files -lt 20 || $_compdir = */Base || -d $_compdir/Base ]]; then # Too few files: we need some more directories, or we need to check - # that all directories (not just Core) are present. + # that all directories (not just Base) are present. _i_addfiles=() - if [[ $_compdir = */Core ]]; then + if [[ $_compdir = */Base ]]; then # Add all the Completion subdirectories _i_addfiles=(${_compdir:h}/*(/)) - elif [[ -d $_compdir/Core ]]; then + elif [[ -d $_compdir/Base ]]; then # Likewise _i_addfiles=(${_compdir}/*(/)) fi |