From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24654 invoked from network); 25 Mar 2004 03:07:51 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Mar 2004 03:07:51 -0000 Received: (qmail 913 invoked by alias); 25 Mar 2004 03:07:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7266 Received: (qmail 883 invoked from network); 25 Mar 2004 03:07:39 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Mar 2004 03:07:39 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Mar 2004 3:7:38 -0000 Received: (qmail 28772 invoked from network); 25 Mar 2004 03:07:38 -0000 Received: from wbar3.sjo1-4-11-009-147.sjo1.dsl-verizon.net (HELO candle.brasslantern.com) (4.11.9.147) by a.mx.sunsite.dk with SMTP; 25 Mar 2004 03:07:27 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i2P37PW16513 for zsh-users@sunsite.dk; Wed, 24 Mar 2004 19:07:25 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040325030725.ZM16512@candle.brasslantern.com> Date: Thu, 25 Mar 2004 03:07:25 +0000 In-Reply-To: <10hss9qafrc2f$.dlg@thorstenkampe.de> Comments: In reply to Thorsten Kampe "Re: Wish for rprompt feature" (Mar 24, 9:25pm) References: <1040320171038.ZM18075@candle.brasslantern.com> <1040321012959.ZM18687@candle.brasslantern.com> <10hss9qafrc2f$.dlg@thorstenkampe.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: Wish for rprompt feature MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: **** X-Spam-Status: No, hits=4.7 required=6.0 tests=RCVD_IN_DYNABLOCK, RCVD_IN_NJABL,RCVD_IN_NJABL_DIALUP,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 4.7 On Mar 24, 9:25pm, Thorsten Kampe wrote: } Subject: Re: Wish for rprompt feature } } * Bart Schaefer (2004-03-21 02:29 +0100) } > POSTDISPLAY=" ${(%)RPS1}" } } Looks interesting. But I cannot test your solution as thoroughly as it } deserves because it doesn't recognize the Prompt sequences in my } rprompt ($cyan, $reset_color[1]). Ah. Well, the short answer _should_ have been "change (%) to (%%) to enable full prompt expansions" ... but it appears POSTDISPLAY does not output the value verbatim, but rather prints it as if ${(V)POSTDISPLAY} had been used. So ... } Could you modify your "zle-line-init/POSTDISPLAY" solution so the } colours in my prompt are shown? Apparently not.