From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10059 invoked from network); 31 Oct 2007 15:13:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Oct 2007 15:13:20 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 64377 invoked from network); 31 Oct 2007 15:13:14 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Oct 2007 15:13:14 -0000 Received: (qmail 12804 invoked by alias); 31 Oct 2007 15:13:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24043 Received: (qmail 12785 invoked from network); 31 Oct 2007 15:13:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 31 Oct 2007 15:13:10 -0000 Received: (qmail 64075 invoked from network); 31 Oct 2007 15:13:10 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 31 Oct 2007 15:13:04 -0000 Received: from torch.brasslantern.com ([71.116.71.62]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JQS0026S7LORH33@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Wed, 31 Oct 2007 10:13:02 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l9VFD0cY008699 for ; Wed, 31 Oct 2007 08:13:00 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l9VFCx38008698 for zsh-workers@sunsite.dk; Wed, 31 Oct 2007 08:12:59 -0700 Date: Wed, 31 Oct 2007 08:12:59 -0700 From: Bart Schaefer Subject: Re: precmd, preexec, and supplied prompt themes In-reply-to: <071031074959.ZM8668@torch.brasslantern.com> To: zsh-workers@sunsite.dk Message-id: <071031081259.ZM8697@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20071012215906.GA8935@mastermind> <071012185005.ZM2921@torch.brasslantern.com> <35490.69.3.191.19.1192241340.squirrel@mail.acg.ucsc.edu> <071012202721.ZM13638@torch.brasslantern.com> <20071013135858.18e842df.wgscott@chemistry.ucsc.edu> <071013144046.ZM15536@torch.brasslantern.com> <42409.66.167.127.82.1192312408.squirrel@mail.acg.ucsc.edu> <071013161113.ZM15656@torch.brasslantern.com> <43237.69.3.24.27.1192318777.squirrel@mail.acg.ucsc.edu> <071013194931.ZM15792@torch.brasslantern.com> <18266.1193828857@thecus> <071031074959.ZM8668@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: precmd, preexec, and supplied prompt themes" (Oct 31, 7:49am) On Oct 31, 7:49am, Bart Schaefer wrote: } } Even with -R, options "describing the interactive environment" are } not supposed to be reset, and without -L "only those options likely That should say "without -R" not -L. In any case it appears to be OK to remove that one "emulate". --- ../zsh-forge/current/Functions/Prompts/promptinit 2007-10-14 09:32:27.000000000 -0700 +++ Functions/Prompts/promptinit 2007-10-31 08:07:48.000000000 -0700 @@ -166,13 +166,12 @@ } prompt () { - emulate -L zsh local prompt_opts set_prompt "$@" (( $#prompt_opts )) && setopt noprompt{bang,cr,percent,subst} prompt${^prompt_opts[@]} true }