Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: exit status problem



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