zsh-users
 help / color / mirror / code / Atom feed
* lining up RPS1 and PS1
@ 2005-06-06 10:18 Miek Gieben
  2005-06-06 10:35 ` Thorsten Kampe
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Miek Gieben @ 2005-06-06 10:18 UTC (permalink / raw)
  To: zsh users

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

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="[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 
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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-06-06 16:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 10:18 lining up RPS1 and PS1 Miek Gieben
2005-06-06 10:35 ` Thorsten Kampe
2005-06-06 10:43   ` Miek Gieben
2005-06-06 10:53     ` Thorsten Kampe
2005-06-06 15:09       ` Gmane (Re: lining up RPS1 and PS1) Bart Schaefer
2005-06-06 16:23         ` Thorsten Kampe
2005-06-06 16:42           ` Miek Gieben
2005-06-06 16:53           ` Bart Schaefer
2005-06-06 15:04 ` lining up RPS1 and PS1 Dan Nelson
2005-06-06 15:23 ` Bart Schaefer
2005-06-06 16:38   ` Miek Gieben

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).