about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/prompt.yo4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ecfb21c80..d22c727f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-07-24  Oliver Kiddle <opk@zsh.org>
 
+	* 35865: Doc/Zsh/prompt.yo: document %^ prompt expansion
+
 	* 35864: Doc/Zsh/mod_system.yo, Src/Modules/system.c,
 	Src/Modules/system.mdd: add sysopen, sysseek and systell to
 	system module
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo
index 307587678..c4e201465 100644
--- a/Doc/Zsh/prompt.yo
+++ b/Doc/Zsh/prompt.yo
@@ -92,6 +92,10 @@ print as many as there are.  This is most useful in prompts tt(PS2) for
 continuation lines and tt(PS4) for debugging with the tt(XTRACE) option; in
 the latter case it will also work non-interactively.
 )
+item(tt(%^))(
+The status of the parser in reverse. This is the same as `tt(%_)' other than
+the order of strings.  It is often used in tt(RPS2).
+)
 xitem(tt(%d))
 item(tt(%/))(
 Current working directory.  If an integer follows the `tt(%)',