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

Re: zle reset-prompt



On Wed, 28 Jul 2010 22:15:36 +0200
Simon Friedberger <simon+zsh@xxxxxxxxxx> wrote:
> I'm using zle reset-prompt as suggested on the wiki for displaying the
> status of the vim bindings. It shows whether they are in insert or
> normal mode.
> 
> The problem with this is that zle reset-prompt resets the exit status
> of the last command.

That would certainly be a bug but it's not doing it here in 4.3.10-dev-2.
Does this happen if you run ESC x reset-prompt RETURN at the command
line?  If so, have you got something in your prompt that triggers this?

-- 
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