Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Calculator function
- X-seq: zsh-workers 15527
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: Calculator function
- Date: Mon, 30 Jul 2001 10:47:01 +0100
- In-reply-to: "Bart Schaefer"'s message of "Mon, 30 Jul 2001 00:58:25 -0000." <1010730005825.ZM29062@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On Jul 29, 10:52pm, Peter Stephenson wrote:
> Hmhm. Doesn't make that much difference to me, really, but why would it
> be a big deal to `setopt localoptions promptpercent' within zcalc?
It wouldn't, given what I'm doing any.
> } I'm not sure it's good to force that on users of a function.
>
> Force what?
The whole point is that this isn't part of the base shell and expecting
people to have to fiddle with its settings just because they are using
different options seems to me unnecessary. So I was proposing the fixed
feature that it uses full prompt substitution; it uses zsh-specific
features in any case. But it could be done a lot of different ways.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author