The same affects zsh (in Ubuntu Lucid), too. I have done the following to trace this down: strace zsh -i -c 'which run-help ; run-help foo' 2>&1 | grep run-help > 1
Then looking in "1" for everything without ENOENT (No such file or directory), I get: % grep -v ENOENT 1 execve("/usr/bin/zsh", ["zsh", "-i", "-c", "which run-help ; run-help foo"], [/* 47 vars */]) = 0 write(1, "run-help () {\n\t# undefined\n\tbuil"..., 50run-help () { stat64("/usr/share/zsh/functions/Misc/run-help", {st_mode=S_IFREG|0755, st_size=2807, ...}) = 0 So, clearly, /usr/share/zsh/functions/Misc/run-help is being used, but does not contain the line I'm seeing in "which run-help" (local HELPDIR="${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}"). For me, I could fix this by manually removing the /usr/share/zsh/functions/Misc.zwc file, which gets shipped in the Debian package! I thought that zsh could automatically compile files, but thats apparently not the case, so instead, they should probably get explicitly re-compiled when building the package? I am using zsh 4.3.10-5ubuntu3 and also have zsh-lovers installed, for what it's worth. -- http://daniel.hahler.de/
signature.asc
Description: This is a digitally signed message part.