On 03/29/2012 09:18 PM, Frank Terbeck wrote:
Hong Xu wrote:
/usr/share/zsh/4.3.17/scripts/newuser:6: zsh-newuser-install: function
definition file not found
[...]
autoload -U compinit
compinit
[...]
zsh: compinit: function definition file not found
This sounds like a severely broken installation. Debian's zsh packages
do not split the function files off of the main package (yet). So that
really shouldn't happen.
What is the output of this:
print -l $fpath
c=( ${^fpath}/compinit(N.) )
(( $#c ))&& ls -l $c[1] || echo compinit not found
The last command shouldn't come up with "compinit not found". If it does
the output from the first command is probably reflecting breakage.
It cames up with:
/opt/intel/composerxe-2011.5.220/mkl/include
compinit not found
In case it's broken try this:
% zsh -f
(and in that new shell)
% autoload -Uz compinit
% compinit
% print ${#_comps}
The `compinit' call should *not* fail and the `print' call should return
an integer in the range of slightly above one thousand.
compinit fails, and the print gives 0.
If this does not work, your installation is very likely broken (however
that happened...).
I've reinstalled zsh: "aptitude reinstall zsh", however, things remain
what they were.
Thanks,
Hong
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org