From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27783 invoked from network); 6 Jun 2005 10:18:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Jun 2005 10:18:41 -0000 Received: (qmail 17708 invoked from network); 6 Jun 2005 10:18:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Jun 2005 10:18:33 -0000 Received: (qmail 15110 invoked by alias); 6 Jun 2005 10:18:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8954 Received: (qmail 15099 invoked from network); 6 Jun 2005 10:18:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Jun 2005 10:18:25 -0000 Received: (qmail 16717 invoked from network); 6 Jun 2005 10:18:25 -0000 Received: from sol.nlnetlabs.nl (213.154.224.43) by a.mx.sunsite.dk with SMTP; 6 Jun 2005 10:18:20 -0000 Received: from elektron.atoom.net (vhe-530008.sshn.net [195.169.222.38]) by sol.nlnetlabs.nl (Postfix) with ESMTP id 33CE7188033 for ; Mon, 6 Jun 2005 12:18:20 +0200 (CEST) Received: by elektron.atoom.net (Postfix, from userid 1000) id 1D9BB2804F1A; Mon, 6 Jun 2005 12:18:20 +0200 (CEST) Date: Mon, 6 Jun 2005 12:18:20 +0200 From: Miek Gieben To: zsh users Subject: lining up RPS1 and PS1 Message-ID: <20050606101820.GC26977@atoom.net> Mail-Followup-To: zsh users Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK" Content-Disposition: inline User-Agent: Vim/Mutt/Linux X-Home: www.miek.nl X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 --1ccMZA6j1vT5UqiK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I've been looking into the RPS1 variable to spice up my prompt. Currently my prompt looks like this: (it's a 2-line prompt) [some info] % Now I wanted to make it look like this: [some info] [some more] % (where RPS1=3D"[some more]") But as the PS1 includes a newline (to put the '%' on a seperate line) the prompt looks like: [some info] % [some more] Is there any way to make a RPS1 line up with the first part of the PS1 /and/ still have a newline in the PS1? Thanks for any info! [I could stretch PS1 and calculate the placement of '[some more]', but=20 I really like the features of RPS1, like automatic placement.] -- grtz, - Miek http://www.miek.nl http://www.nlnetlabs.nl PGP Key ID: 0xB18453A1 fingerprint: 002B B079 0DDA 7D44 2B5C CAB0 C3B7 F943 B184 53A1 --1ccMZA6j1vT5UqiK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCpCLsw7f5Q7GEU6ERApM4AJ9yhbvHUFfSqzTMy1Qk/P+yjHDo5wCgwxKN fx+d3gXt7CzFmtP85A4EVWQ= =E+8Q -----END PGP SIGNATURE----- --1ccMZA6j1vT5UqiK--