Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt escapes RE: $'...' and double-quotes
- X-seq: zsh-workers 10002
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: Prompt escapes RE: $'...' and double-quotes
- Date: Tue, 7 Mar 2000 16:38:10 +0000
- Cc: <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: <000501bf8810$19a03fd0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <000501bf8810$19a03fd0$21c9ca95@xxxxxxxxxxxxxx>
On Mar 7, 11:35am, Andrej Borsenkow wrote:
} Subject: Prompt escapes RE: $'...' and double-quotes
}
} $'...' reminds me - is there any easy way to get prompt escapes embedded?
In 3.1.6, ${(%)...}. So these should be equivalent:
print -P "${PS1}"
print "${(%)PS1}"
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author