From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13980 invoked from network); 4 Feb 2003 04:26:36 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Feb 2003 04:26:36 -0000 Received: (qmail 4232 invoked by alias); 4 Feb 2003 04:26:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18185 Received: (qmail 4225 invoked from network); 4 Feb 2003 04:26:26 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Feb 2003 04:26:26 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [63.107.91.101] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Feb 2003 4:26:25 -0000 Received: from itasoftware.com (phl.internal.itasoftware.com [192.168.1.115]) by mta.internal.itasoftware.com (8.12.6/8.12.6) with ESMTP id h144QOxY030014; Mon, 3 Feb 2003 23:26:24 -0500 Received: (from greg@localhost) by itasoftware.com (8.9.3/8.8.7) id XAA24531; Mon, 3 Feb 2003 23:26:23 -0500 Message-ID: <15935.16623.823108.734629@phl.itasoftware.com> Date: Mon, 3 Feb 2003 23:26:23 -0500 (EST) From: gak@klanderman.net (Greg Klanderman) To: zsh-workers@sunsite.dk (Zsh list) Subject: Re: alwayslastprompt problem In-Reply-To: <1030204025755.ZM15281@candle.brasslantern.com> References: <15934.59328.619062.393204@phl.itasoftware.com> <1030204025755.ZM15281@candle.brasslantern.com> Reply-To: gak@klanderman.net X-Mailer: VM 6.62 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Hi Bart, Is there any reason zsh couldn't handle alwayslastprompt in this situation? The other completion options seem to work in this context. Using a shell function is not really an option. While I run zsh as my interactive shell, others here do not. I can certainly live without alwayslastprompt, but it would be preferable... thanks to you and the other zsh workers for continuing to produce such a truly incredible shell, Greg >>>>> Bart Schaefer writes: > On Feb 3, 5:05pm, Greg Klanderman wrote: > } > } What's going on? > The alwayslastprompt option does not apply to non-interactive shells. A > script is not "interactive", even if it calls "vared". If the shell from > which you are calling the script is also zsh, try autoloading the script > as a shell function instead of running it as a separate process.