From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6148 invoked by alias); 28 Jul 2010 20:45:21 -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: 15205 Received: (qmail 18508 invoked from network); 28 Jul 2010 20:45:18 -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: Wed, 28 Jul 2010 22:15:36 +0200 From: Simon Friedberger To: zsh-users@zsh.org Subject: zle reset-prompt Message-ID: <20100728201536.GA1146@a-oben.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Hello list subscribers! 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. I spoke to ft about this on irc and he was surprised by the behavior so I thought I'd bring it up here. Is there something like redraw-prompt that can be substituted? Is the behavior intentional? etc. pp. Best Simon