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

Re: zle reset-prompt



OK, so I tried a couple of possible calls with ESC x and the functions
in my prompt config.
It seems that zle-keymap-select might be the perpetrator.
Does that make any more sense?

On 15:55 Fri 30.07.10, Simon Friedberger wrote:
> No, doesn't happen when I run it manually. I will try some more later
> and get back to you.
> 
> 
> On 10:04 Thu 29.07.10, Peter Stephenson wrote:
> > 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