Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: exit status problem
- X-seq: zsh-users 15599
- From: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: exit status problem
- Date: Fri, 3 Dec 2010 16:09:16 +0000
- In-reply-to: <20101203152438.GL1727@xxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <20101203152438.GL1727@xxxxxxxxxxxxxxxxxxx>
On Fri, 3 Dec 2010 16:24:38 +0100
Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> I show the exit status in the prompt, and I have the following
> reproducible problem when I do:
>
> 1. I type "false".
> 2. I type "sleep 1 &".
> 3. I increase the window width.
> 4. I type [Enter].
>
> Until step 3, no problem (attached snapshot zshprompt1.png).
> But after 4 (attached snapshot zshprompt2.png), the prompt has been
> redisplayed with exit status 0. But the new prompt is OK.
I don't understand why you don't get status 0 after 2. "sleep 1 &"
should reset it.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author