Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

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.  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