Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
not running precmd - was: Re: PS1='%?'
- X-seq: zsh-users 11907
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: not running precmd - was: Re: PS1='%?'
- Date: Mon, 1 Oct 2007 05:10:00 +1300 (NZDT)
- In-reply-to: <20070929210907.GA30116@mastermind>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
- References: <20070929112153.76128.qmail@xxxxxxxxxxx> <20070929120210.GB7515@xxxxxxxxxxxxxxx> <20070929151433.45692.qmail@xxxxxxxxxxx> <20070929210907.GA30116@mastermind>
while experimenting with displaying the previous command's return status
as part of my prompt, i came across a test case that didn't work and made
no sense at first:
return n>0
after some experimenting, i found that after running 'return', precmd is
not executed. that kind of makes sense, but it still seems kind of buggy.
should i think of this as a bug or an edge case that's a little over the
edge?
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"99 Decision Street, 99 ministers meet
To worry, worry, super-scurry
Call the troops out in a hurry
This is what we've waited for
This is it boys, this is war
The president is on the line
As 99 red balloons go by."
-- Nena
Messages sorted by:
Reverse Date,
Date,
Thread,
Author