Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Prompt being evaluated multiple times when prompt_subst is set.
- X-seq: zsh-users 12765
- From: "Caio Marcelo" <cmarcelo@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Prompt being evaluated multiple times when prompt_subst is set.
- Date: Wed, 9 Apr 2008 01:32:59 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=5J7Jfd/iC7YGy7ufWwj7FkP1yByuA4KjgDP64GgSraQ=; b=wyHISkWp1nrmATryEpcbS9qwJ6ipeGLoQTxrf8ReDlWHZY5h8l6qzIx5Ux0VtFf92UeU3mpL6lDeDpZwVGSun1RZXqI0T7Felen32TEty00lq2Sv+DBoPMmvFBttbEa9nxH1bmq2elOk+mhNU1sOSi/5keCWnPowuYyGqI8Twzs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Tn81fwvFL033cmiYIgnT5UXlphpp2XEkPUG/ZCPC0WHv5gJcla/Wr88Op5yzc2KK8abnViOSOC2Y8em0fyBWp4E1BIx8p0NhOwo2yF95RrmpmPMopS8RFowqFC9Ts3uqo/XVO9kSus5PeGQtX/gD8dM56ooaAo8fWSpWP57Ub8E=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello, I'm using zsh 4.3.4 (the one packaged in Fedora 8) and having a
strange behavior: the prompt is evaluated three times when I think it
should be just one.
An example: opened up two terminals, in one I did:
touch a; tail -f a
in the other, in zsh:
setopt prompt_subst
PROMPT='lala$(echo X >> a)'
everytime I press ENTER in the second terminal, three new Xs appear, I
was expecting one. Is it expected? Am I missing something?
Cheers,
Caio Marcelo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author