about summary refs log tree commit diff
path: root/Doc/Zsh/prompt.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-08-29 09:46:34 +0100
committerPeter Stephenson <pws@zsh.org>2014-08-29 09:46:34 +0100
commit711e1427b5eb80104b4d6ad1504f43ea958970d8 (patch)
tree2d5fa87c1b07910200310e3db5535cf157583214 /Doc/Zsh/prompt.yo
parent40d559d8803ddbfa6d6d628e86491398f543aca3 (diff)
downloadzsh-711e1427b5eb80104b4d6ad1504f43ea958970d8.tar.gz
zsh-711e1427b5eb80104b4d6ad1504f43ea958970d8.tar.xz
zsh-711e1427b5eb80104b4d6ad1504f43ea958970d8.zip
33057: %e in prompts shows evaluation / execution depth
Diffstat (limited to 'Doc/Zsh/prompt.yo')
-rw-r--r--Doc/Zsh/prompt.yo6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo
index 0ed52b580..183a93a3b 100644
--- a/Doc/Zsh/prompt.yo
+++ b/Doc/Zsh/prompt.yo
@@ -108,6 +108,12 @@ the full path;
 ifzman(see em(Dynamic) and em(Static named directories) in zmanref(zshexpn))\
 ifnzman(noderef(Filename Expansion)).
 )
+item(tt(%e))(
+Evaluation depth of the current sourced file, shell function, or tt(eval).
+This is incremented or decremented every time the value of tt(%N) is
+set or reverted to a previous value, respectively.  This is most useful
+for debugging as part of tt($PS4).
+)
 xitem(tt(%h))
 item(tt(%!))(
 Current history event number.