Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[mpol@xxxxxxxxxxxxxxxxxxx: Bug#306346: zsh: replacement seems broken in prompt]



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