Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Distributed Completion/ structure and compinit
- X-seq: zsh-workers 14097
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxx
 
- Subject: Distributed Completion/ structure and compinit
 
- Date: Wed, 25 Apr 2001 15:44:58 +0000
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
The doc for compinit says:
 For incomplete installations, if compinit does not find enough files
 beginning with an underscore (fewer than twenty) in the search path, it
 will try to find more by adding the directory _compdir to the search
 path.  Furthermore, if the directory in question ends in the path
 segment Base, or has a subdirectory named Base, compinit will add all
 subdirectories of the directory where Base is to the path: this allows
 the functions to be in the same format as in the zsh source
 distribution.
This doesn't quite work any more.  It handles one level of subdirectories,
as in an install with --enable-function-subdirs, but not two levels of
subdirectories as in the source.
Also, I'm curious why this line in compaudit was commented out:
  ### [[ -d $_compdir/../Base ]] && _compdir=${_compdir:h}
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author