Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Calculator function
- X-seq: zsh-workers 15516
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Calculator function
- Date: Sun, 29 Jul 2001 22:52:02 +0100
- In-reply-to: ""Bart Schaefer""'s message of "Fri, 27 Jul 2001 16:26:39 PDT." <010727162639.ZM25198@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
"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 <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author