Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[mpol@xxxxxxxxxxxxxxxxxxx: Bug#306346: zsh: replacement seems broken in prompt]
- X-seq: zsh-workers 21193
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: [mpol@xxxxxxxxxxxxxxxxxxx: Bug#306346: zsh: replacement seems broken in prompt]
- Date: Mon, 25 Apr 2005 21:37:16 -0400
- Cc: 306346-forwarded@xxxxxxxxxxxxxxx
- Mail-followup-to: zsh-workers@xxxxxxxxxx, 306346-forwarded@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
This is with 21170.
----- Forwarded message from Michal Politowski <mpol@xxxxxxxxxxxxxxxxxxx> -----
Date: Tue, 26 Apr 2005 00:01:18 +0200
From: Michal Politowski <mpol@xxxxxxxxxxxxxxxxxxx>
To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: Bug#306346: zsh: replacement seems broken in prompt
4.2.5-4 didn't show this behaviour, so maybe it's the newest patch.
${${foo}/?*/replacement} puts replacement in the prompt even when foo is empty
${foo/?*/replacement} works as expected.
On the command line, echo ${...} works as expected for both expressions,
printing nothing when foo is the empty string.
----- End forwarded message -----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author