From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10918 invoked by alias); 30 Jul 2010 13:55:20 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15212 Received: (qmail 25351 invoked from network); 30 Jul 2010 13:55:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at a-oben.org does not designate permitted sender hosts) Date: Fri, 30 Jul 2010 15:55:10 +0200 From: Simon Friedberger To: zsh-users@zsh.org Subject: Re: zle reset-prompt Message-ID: <20100730135510.GB4728@a-oben.org> References: <20100728201536.GA1146@a-oben.org> <20100729100452.53f1cc15@csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100729100452.53f1cc15@csr.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 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 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