From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3391 invoked from network); 25 Sep 2006 11:27:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Sep 2006 11:27:17 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 56008 invoked from network); 25 Sep 2006 11:27:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Sep 2006 11:27:11 -0000 Received: (qmail 798 invoked by alias); 25 Sep 2006 11:26:59 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10759 Received: (qmail 789 invoked from network); 25 Sep 2006 11:26:58 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Sep 2006 11:26:58 -0000 Received: (qmail 54407 invoked from network); 25 Sep 2006 11:26:58 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 25 Sep 2006 11:26:53 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly25d.srv.mailcontrol.com (MailControl) with ESMTP id k8PBJ23D025434 for ; Mon, 25 Sep 2006 12:26:16 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 25 Sep 2006 12:17:46 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.7/8.13.4) with ESMTP id k8PBHjxg005312 for ; Mon, 25 Sep 2006 12:17:45 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.7/8.13.7/Submit) with ESMTP id k8PBHi4b005309 for ; Mon, 25 Sep 2006 12:17:44 +0100 Message-Id: <200609251117.k8PBHi4b005309@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-users@sunsite.dk Subject: Re: Functions, sourcing and compinit: function definition file not found. In-reply-to: <20060925095347.GD2643@phoenix.flamingpenguin.net> References: <20060925095347.GD2643@phoenix.flamingpenguin.net> Comments: In-reply-to Nick Stenning message dated "Mon, 25 Sep 2006 10:53:47 +0100." Date: Mon, 25 Sep 2006 12:17:44 +0100 From: Peter Stephenson X-OriginalArrivalTime: 25 Sep 2006 11:17:46.0274 (UTC) FILETIME=[3A317820:01C6E094] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-04-02 (www.mailcontrol.com) on 10.68.0.135 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 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