From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 832 invoked from network); 3 Jul 2006 21:56:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Jul 2006 21:56:18 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 37351 invoked from network); 3 Jul 2006 21:56:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Jul 2006 21:56:09 -0000 Received: (qmail 11673 invoked by alias); 3 Jul 2006 21:56:03 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10471 Received: (qmail 11664 invoked from network); 3 Jul 2006 21:56:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Jul 2006 21:56:02 -0000 Received: (qmail 36398 invoked from network); 3 Jul 2006 21:56:02 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 3 Jul 2006 21:55:59 -0000 Received: from torch.brasslantern.com ([71.116.74.94]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J1U00CKYKWN4OK1@vms048.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 03 Jul 2006 16:55:36 -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 k63LtYGE031421 for ; Mon, 03 Jul 2006 14:55:35 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k63LtXiH031420 for zsh-users@sunsite.dk; Mon, 03 Jul 2006 14:55:33 -0700 Date: Mon, 03 Jul 2006 14:55:33 -0700 From: Bart Schaefer Subject: Re: Adding a new-line to the prompt. In-reply-to: To: zsh-users@sunsite.dk Message-id: <060703145533.ZM31419@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20060703173129.GV26504@fsst.voodoo.lan> Comments: In reply to "Alex Polite" "Re: Adding a new-line to the prompt." (Jul 3, 11:15am) On Jul 3, 11:15am, Alex Polite wrote: } } Thanks that hit the spot. Now I have this: } } fg_dark_gray=$'%{\e[1;30m%}' } fg_no_colour=$'%{\e[0m%}' } } lb="%{$fg_dark_gray%}[%{$fg_no_colour%}" It doesn't really hurt anything in this case, but you've got too many %{ and %} in there. You don't need them both within the definition of $fg_dark_gray et al. and also around the use of same. } rb="$fg_dark_gray]$fg_no_colour" That's better. In one of your earlier messages you had %{ ... %} aournd some thingd it should not have been, where it did matter, but you seem to have got that fixed now.