Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding a new-line to the prompt.
- X-seq: zsh-users 10467
- From: Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Adding a new-line to the prompt.
- Date: Mon, 03 Jul 2006 19:31:29 +0200
- In-reply-to: <ad9751290607031008l38dbe164mf3b8475f3587d5ef@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.16.16 i686
- References: <ad9751290607031008l38dbe164mf3b8475f3587d5ef@xxxxxxxxxxxxxx>
Alex Polite <notmyprivateemail@xxxxxxxxx>:
> Howdy.
>
> This is my first day of zsh after some approx 2300 days of bash. First thing
> I have to do is recreate my bash prompt which ends in a newline. Tried
> inserting a newline with "\n". That didn't do the trick. Googled this for
> about an hour but still couldn't solve it.
Hey Alex,
try this:
PROMPT=$'line0\nline1\nline2-%~%% '
I think $'' quoting is described in zshmisc(1) /QUOTING.
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author