From 1619df1c5d797c3b25fc3224e49cac358c7450f6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 27 Jul 2001 22:23:15 +0000 Subject: 15511: zcalc tweaks --- Doc/Zsh/contrib.yo | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index c104c594d..d168dc9d3 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -820,6 +820,12 @@ indication of the base, or `tt([##16])' just to display the raw number in the given base. Bases themselves are always specified in decimal. `tt([#])' restores the normal output format. +The prompt is configurable via the parameter tt(ZCALCPROMPT), which +undergoes standard prompt expansion. The index of the current entry is +stored locally in the first element of the array tt(psvar), which can be +referred to in tt(ZCALCPROMPT) as `tt(%1v)'. The default prompt is +`tt(%1v> )'. + See the comments in the function for a few extra tips. ) findex(zed) -- cgit 1.4.1