From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4315 invoked from network); 19 Jan 2009 09:43:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Jan 2009 09:43:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 4584 invoked from network); 19 Jan 2009 09:43:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Jan 2009 09:43:36 -0000 Received: (qmail 16822 invoked by alias); 19 Jan 2009 09:43:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26363 Received: (qmail 16813 invoked from network); 19 Jan 2009 09:43:30 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Jan 2009 09:43:30 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [85.115.60.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 9642580271F0 for ; Mon, 19 Jan 2009 10:43:25 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly05d.srv.mailcontrol.com (MailControl) with ESMTP id n0J9hFWb005450 for ; Mon, 19 Jan 2009 09:43:16 GMT Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 Jan 2009 09:43:14 +0000 Date: Mon, 19 Jan 2009 09:43:09 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: precmd reserved names Message-ID: <20090119094309.599c3ea4@news01> In-Reply-To: <200901181423.39539.tek@moonitor.org> References: <200901142124.14881.tek@moonitor.org> <20090115144612.328d1482@news01> <200901181423.39539.tek@moonitor.org> Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jan 2009 09:43:14.0983 (UTC) FILETIME=[59B96370:01C97A1A] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.68.0.115 X-Virus-Scanned: ClamAV 0.92.1/8876/Mon Jan 19 05:24:48 2009 on bifrost X-Virus-Status: Clean On Sun, 18 Jan 2009 14:23:29 +0100 tek wrote: > Yes, sorry, I should have been more detailed about this - it is in a prompt > theme file, called prompt_foo_setup, and the file lies in a directory added > to $fpath. I load the prompt with 'prompt foo', and when the function is > named prompt_foo_precmd, it isn't executed, but it is otherwise. It should work as long as it's marked for autoload by that point. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070