From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24652 invoked from network); 20 Jan 2009 12:08: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.6 required=5.0 tests=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; 20 Jan 2009 12:08:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 28096 invoked from network); 20 Jan 2009 12:08:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Jan 2009 12:08:36 -0000 Received: (qmail 13113 invoked by alias); 20 Jan 2009 12:08:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26374 Received: (qmail 13095 invoked from network); 20 Jan 2009 12:08:30 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 20 Jan 2009 12:08:30 -0000 Received: from gentoo64.gentoo64.net (gentoo64.net [81.169.129.126]) by bifrost.dotsrc.org (Postfix) with ESMTPS id E16F880271F0 for ; Tue, 20 Jan 2009 13:08:27 +0100 (CET) Received: from gluon.atom (cable-62-117-10-181.cust.blue-cable.de [62.117.10.181]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gentoo64.gentoo64.net (Postfix) with ESMTP id 1D3E5FC060 for ; Tue, 20 Jan 2009 13:08:25 +0100 (CET) From: tek Reply-To: tek@moonitor.org To: zsh-workers@sunsite.dk Subject: Re: precmd reserved names Date: Tue, 20 Jan 2009 13:08:10 +0100 User-Agent: KMail/1.9.10 References: <200901142124.14881.tek@moonitor.org> <200901181423.39539.tek@moonitor.org> <20090119094309.599c3ea4@news01> In-Reply-To: <20090119094309.599c3ea4@news01> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart22025873.LqdtUkPFHb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200901201308.14694.tek@moonitor.org> X-Virus-Scanned: ClamAV 0.92.1/8878/Mon Jan 19 23:01:48 2009 on bifrost X-Virus-Status: Clean --nextPart22025873.LqdtUkPFHb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Seems, not for me. It also doesn't need to be autoloaded, if it's called=20 prompt_foo_precmd_bar, it just isn't executed if it has exactly the mention= ed=20 name. Peter wrote: > 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. --nextPart22025873.LqdtUkPFHb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkl1vq4ACgkQQG4NExHanoM0ygCfZVpzFyGOtCKEll3CV2nRekFy rXYAn3nbQUgEfUg6Kkh/XWEaQb71Ff8D =+wZZ -----END PGP SIGNATURE----- --nextPart22025873.LqdtUkPFHb--