On Thu 03/26/09 at 10:04 PM -0700, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote: > What does > zsh +o globalrcs -fc 'print -l $fpath' > show? [shell:~] [v4.3.9] zsh 1001 --> zsh +o globalrcs -fc 'print -l $fpath' /usr/local/share/zsh/site-functions /usr/local/share/zsh/4.3.9/functions /usr/local/share/zsh/4.3.9/functions/Calendar /usr/local/share/zsh/4.3.9/functions/Completion /usr/local/share/zsh/4.3.9/functions/Exceptions /usr/local/share/zsh/4.3.9/functions/MIME /usr/local/share/zsh/4.3.9/functions/Misc /usr/local/share/zsh/4.3.9/functions/Newuser /usr/local/share/zsh/4.3.9/functions/Prompts /usr/local/share/zsh/4.3.9/functions/TCP /usr/local/share/zsh/4.3.9/functions/VCS_Info /usr/local/share/zsh/4.3.9/functions/Zftp /usr/local/share/zsh/4.3.9/functions/Zle /u/q/.zfunc [shell:~] [v4.3.9] zsh 1003 --> Does it differ from what > zsh -ilc 'print -l $fpath' > shows? Yes -- the difference is the addition (below) of the first line (the line beginning: compaudit:74: . . .) [shell:~] [v4.3.9] zsh 1002 --> zsh -ilc 'print -l $fpath' compaudit:74: _i_addfiles: assignment to invalid subscript range /usr/local/share/zsh/site-functions /usr/local/share/zsh/4.3.9/functions /usr/local/share/zsh/4.3.9/functions/Calendar /usr/local/share/zsh/4.3.9/functions/Completion /usr/local/share/zsh/4.3.9/functions/Exceptions /usr/local/share/zsh/4.3.9/functions/MIME /usr/local/share/zsh/4.3.9/functions/Misc /usr/local/share/zsh/4.3.9/functions/Newuser /usr/local/share/zsh/4.3.9/functions/Prompts /usr/local/share/zsh/4.3.9/functions/TCP /usr/local/share/zsh/4.3.9/functions/VCS_Info /usr/local/share/zsh/4.3.9/functions/Zftp /usr/local/share/zsh/4.3.9/functions/Zle /u/q/.zfunc [shell:~] [v4.3.9] zsh 1003 --> > If the functions are installed in a directory tree rather than in one > flat directory, then the compiled-in fpath should reflect that (or > someone has done something fishy). It's more likely that one of the > /etc/z* files is incorrectly stepping on the fpath. A quick look at the /etc dir on that system appears to show that there are no zsh startup or config files in /etc . . . .
Attachment:
pgpe0TdrxiSrF.pgp
Description: PGP signature