1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-15 08:28:03 +02:00

zsh-workers:6200

This commit is contained in:
Tanaka Akira 1999-05-04 21:26:22 +00:00
parent f5a2c482ef
commit 042ef8c8cd

View file

@ -272,6 +272,11 @@ compconf() {
typeset -U _i_files
_i_files=( ${^~fpath}/_(|*[^~])(N:t) )
if [[ $#_i_files -lt 20 && $0 = */* ]]; then
# Assume that we need to add the compinit directory to fpath.
fpath=(${0:h} $fpath)
_i_files=( ${^~fpath}/_(|*[^~])(N:t) )
fi
_i_initname=$0
_i_done=''