Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: reinventing print_exit_value
- X-seq: zsh-users 9019
- From: J <jean.chalard@xxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: reinventing print_exit_value
- Date: Mon, 4 Jul 2005 15:24:07 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HK5BVuJeVdf+d4rodaIT7UK7NEnMU8KDrv9WWuwrmPBNRyIc9UEU0rHC25Hb6sD8qzNICfb0XwmP6KQ8p744soQIZQRdFiIZqJu1UnQrHWjz2jRKQe9mOIFiguuyh6MT9RWSE2JJpHJ6/ModL+pbWwFiKAFhNcq4OcV3gva8Dsc=
- In-reply-to: <20050704122901.GC5546@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200507032356.17308.cht@xxxxxxxxx> <200507040104.41345.cht@xxxxxxxxx> <20050703233511.GC5083@xxxxxxxxxxxxxxxx> <200507040209.14406.cht@xxxxxxxxx> <20050704122901.GC5546@xxxxxxxxxxxxxxxx>
- Reply-to: J <jean.chalard@xxxxxxxxx>
On 7/4/05, Nikolai Weibull
<mailing-lists.zsh-users@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Christian Taylor wrote:
>
> > Yes, I could also achieve the desired output using a multi-lined
> > prompt, but I would still have to perform the same check using the
> > preexec-function that I mentioned in my original posting. (After just
> > hitting enter, the exit status is not reset, and so it would be
> > displayed a second time.)
>
> OK, I missed that, sorry. Still, how much of a problem is this?
> Perhaps you should just stop hitting <Enter> a bunch of times after a
> non-zero exit status? ;-),
> nikolai
>
> --
> Nikolai Weibull: now available free of charge at http://bitwi.se/!
> Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
> main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
>
--
J
"If you wish to leave a record of your call,
please state your messij at the sound of the tone."
Messages sorted by:
Reverse Date,
Date,
Thread,
Author