zsh-users
 help / color / mirror / code / Atom feed
From: J <jean.chalard@gmail.com>
To: zsh-users <zsh-users@sunsite.dk>
Subject: Re: reinventing print_exit_value
Date: Mon, 4 Jul 2005 15:24:07 +0200	[thread overview]
Message-ID: <fb6be96e0507040624491b221d@mail.gmail.com> (raw)
In-Reply-To: <20050704122901.GC5546@puritan.pnetwork>

On 7/4/05, Nikolai Weibull
<mailing-lists.zsh-users@rawuncut.elitemail.org> 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."


  reply	other threads:[~2005-07-04 13:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-03 21:56 Christian Taylor
2005-07-03 22:32 ` Nikolai Weibull
2005-07-03 23:04   ` Christian Taylor
2005-07-03 23:35     ` Nikolai Weibull
2005-07-04  0:09       ` Christian Taylor
2005-07-04 12:29         ` Nikolai Weibull
2005-07-04 13:24           ` J [this message]
2005-07-04 13:25             ` J
2005-07-04 14:29           ` Christian Taylor
2005-07-04 14:32 ` Bart Schaefer
2005-07-04 22:32   ` Christian Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb6be96e0507040624491b221d@mail.gmail.com \
    --to=jean.chalard@gmail.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).