zsh cannot find function definition files

Bug #689110 reported by humbaba
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zsh (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: zsh

Invoking zsh (after a clean install) gives:

/usr/share/zsh/4.3.10/scripts/newuser:6: zsh-newuser-install: function definition file not found
/etc/zsh/zshrc:50: compinit: function definition file not found

It seems that zsh cannot find the function definitions of some basic functions (e.g. compinit).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: zsh 4.3.10-14ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic i686
NonfreeKernelModules: sep3_1 pax nvidia
Architecture: i386
Date: Sun Dec 12 00:42:04 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: zsh

Revision history for this message
humbaba (humbaba) wrote :
Revision history for this message
Karl Yngve Lervåg (karl-yngve) wrote :

I had the same problem, but discovered that it was due to me starting zsh from the bash shell, where (for some reason) the variable FPATH was set by one of the programs I use. When this variable is set, zsh invoked from the bash shell will not add the default paths, and thus the function definition files are not found.

It seems, thus, that the bug is not actually a bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.