Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: lining up RPS1 and PS1
- X-seq: zsh-users 8955
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: lining up RPS1 and PS1
- Date: Mon, 6 Jun 2005 11:35:17 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050606101820.GC26977@xxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
* Miek Gieben (2005-06-06 11:18 +0100)
> 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]")
Not directly the answer you're waiting for: most people don't like
two-line-prompts and use it only because their shell doesn't have an
RPROMPT/RPS1.
So the classic use for you would be
% [some info]
or
% [some more] [some info]
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author