From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26226 invoked by alias); 28 Aug 2011 15:55:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29729 Received: (qmail 9880 invoked from network); 28 Aug 2011 15:55: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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: neutral (ns1.primenet.com.au: 74.125.82.43 is neither permitted nor denied by SPF record at ntlworld.com) X-ProxyUser-IP: 81.97.71.129 Date: Sun, 28 Aug 2011 16:54:59 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: auto-exec on last command Message-ID: <20110828165459.0501ca9d@pws-pc.ntlworld.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 21 Aug 2011 21:33:52 +0000 (UTC) J=C3=B6rg Sommer wrote: > is it possible to advice zsh to replace its process (with exec) with the > process of the last command? It does this automatically if it thinks the shell won't be needed again, although there are probably complicated cases where it doesn't get this right. --=20 Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/