Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Parameter + prompt expansion %D{%T.%.} parser issue
- X-seq: zsh-workers 38882
- From: Roland Eggner <edvz2@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Parameter + prompt expansion %D{%T.%.} parser issue
- Date: Mon, 18 Jul 2016 22:31:49 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Reply-to: Roland Eggner <edvz2@xxxxxxxxxxxxxxxxxx>
emulate -R zsh -c 'print -l ${(%):-%D{%T.%.} %~} "${(%):-%D{%T.%.} %~}" ${(%):-"%D{%T.%.} %~"}'
Expected:
22:03:02.324 ~
22:03:02.324 ~
22:03:02.324 ~
Observed:
22:03:02.324 ~
22:03:02.324 %~}
22:03:02.324 ~
Note the trailing “%~}” in the 2nd line.
ZSH_PATCHLEVEL=zsh-5.2-282-ga22f4ea
uname -m -o
x86_64 GNU/Linux
Usage error? Bug? Feature?
--
Best regards
Roland Eggner
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author