Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problems with escaped close parens in ternary expressions in PROMPT
- X-seq: zsh-workers 871
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: joseph@xxxxxx (Joseph Goldstone)
- Subject: Re: Problems with escaped close parens in ternary expressions in PROMPT
- Date: Fri, 29 Mar 1996 21:21:43 +0000 (GMT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199603291836.KAA22874@xxxxxxxxxxxxxxx> from "Joseph Goldstone" at Mar 29, 96 10:36:50 am
In ternary expressions, close parens can no longer be escaped with \.
The \ is treated as a normal character, and the close paren ends the
ternary expression. You can get a literal ) by using the new %)
sequence. (If I were designing this from scratch, ) would be taken
literally, and %) would close the ternary. Unfortunately it's too late
for that; this solution breaks the least code.)
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author