Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Functions, sourcing and compinit: function definition file not found.
- X-seq: zsh-users 10759
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Functions, sourcing and compinit: function definition file not found.
- Date: Mon, 25 Sep 2006 12:17:44 +0100
- In-reply-to: <20060925095347.GD2643@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060925095347.GD2643@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Nick Stenning wrote:
> /home/borior/.zshrc:106: compinit: function definition file not found
>
> The really odd part of this story comes when I tell you that
> "source ${zdotdir}/.zshrc" works absolutely fine from the shell. No
> error from compinit whatsoever.
Look at what's happening to the variable fpath (equivalently FPATH)
while your code is running; simply "print $fpath" at occasional points
should be enough. I would guess somewhere it's being reset and only
later restored to what you expect.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author