zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <Peter.Stephenson@csr.com>
To: Simon Friedberger <simon+zsh@a-oben.org>, zsh-users@zsh.org
Subject: Re: zle reset-prompt
Date: Thu, 29 Jul 2010 10:04:52 +0100	[thread overview]
Message-ID: <20100729100452.53f1cc15@csr.com> (raw)
In-Reply-To: <20100728201536.GA1146@a-oben.org>

On Wed, 28 Jul 2010 22:15:36 +0200
Simon Friedberger <simon+zsh@a-oben.org> 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@csr.com>            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


  reply	other threads:[~2010-07-29  9:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28 20:15 Simon Friedberger
2010-07-29  9:04 ` Peter Stephenson [this message]
2010-07-30 13:55   ` Simon Friedberger
2010-07-30 14:08     ` Simon Friedberger
2010-07-31 17:47       ` Peter Stephenson
2010-07-31 18:34         ` Frank Terbeck
2010-07-31 19:30           ` Peter Stephenson
2010-07-31 20:16             ` Frank Terbeck

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=20100729100452.53f1cc15@csr.com \
    --to=peter.stephenson@csr.com \
    --cc=simon+zsh@a-oben.org \
    --cc=zsh-users@zsh.org \
    /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).