Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Calculator function
- X-seq: zsh-workers 15519
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Calculator function
- Date: Mon, 30 Jul 2001 00:58:25 +0000
- In-reply-to: <20010729215207.6FB6314291@xxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010729215207.6FB6314291@xxxxxxxxxxxxxxxxxxxxxxxx>
On Jul 29, 10:52pm, Peter Stephenson wrote:
} Subject: Re: Calculator function
}
} "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.
Hmhm. Doesn't make that much difference to me, really, but why would it
be a big deal to `setopt localoptions promptpercent' within zcalc? As it
stands, zcalc is ignoring the surrounding promptpercent setting anyway; it
just happens to also be ignoring the surrounding prompt(subst|bang).
} I'm not sure it's good to force that on users of a function.
Force what?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author