about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-07-27 22:23:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-07-27 22:23:15 +0000
commit1619df1c5d797c3b25fc3224e49cac358c7450f6 (patch)
treedd3a04e8eebb63b7f5990f3bd2513e506836c00b /Doc/Zsh
parent4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53 (diff)
downloadzsh-1619df1c5d797c3b25fc3224e49cac358c7450f6.tar.gz
zsh-1619df1c5d797c3b25fc3224e49cac358c7450f6.tar.xz
zsh-1619df1c5d797c3b25fc3224e49cac358c7450f6.zip
15511: zcalc tweaks
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/contrib.yo6
1 files changed, 6 insertions, 0 deletions
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)