From 711e1427b5eb80104b4d6ad1504f43ea958970d8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 29 Aug 2014 09:46:34 +0100 Subject: 33057: %e in prompts shows evaluation / execution depth --- Doc/Zsh/prompt.yo | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Doc') 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. -- cgit 1.4.1