From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6395 invoked from network); 29 Jul 2001 20:48:52 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jul 2001 20:48:52 -0000 Received: (qmail 10685 invoked by alias); 29 Jul 2001 20:48:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15516 Received: (qmail 10673 invoked from network); 29 Jul 2001 20:48:40 -0000 To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: Calculator function In-reply-to: ""Bart Schaefer""'s message of "Fri, 27 Jul 2001 16:26:39 PDT." <010727162639.ZM25198@candle.brasslantern.com> Date: Sun, 29 Jul 2001 22:52:02 +0100 From: Peter Stephenson Message-Id: <20010729215207.6FB6314291@pwstephenson.fsnet.co.uk> "Bart Schaefer" wrote: > On Jul 28, 12:17am, Peter Stephenson wrote: > > +while vared -cehp "${(%)ZCALCPROMPT}" line; do > > Hrm, don't you want (%%) there? Couldn't really decide. With that, you need to change the prompt if you unset PROMPT_PERCENT. I'm not sure it's good to force that on users of a function. Change it if you feel strongly. -- Peter Stephenson Work: pws@csr.com Web: http://www.pwstephenson.fsnet.co.uk