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:
parent
f5a2c482ef
commit
042ef8c8cd
1 changed files with 5 additions and 0 deletions
|
@ -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=''
|
||||
|
||||
|
|
Loading…
Reference in a new issue