about summary refs log tree commit diff
path: root/Doc/Zsh/prompt.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-01-29 17:51:00 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-01-29 17:51:00 +0000
commit73bbb6298857b4908f2347be79b81a03bee11c3a (patch)
treed4eaf42146806ed6fe659fd44a8da13c92cc2da2 /Doc/Zsh/prompt.yo
parent3d20551b19d3b49c1ea27c43b79b83f498c2ce53 (diff)
downloadzsh-73bbb6298857b4908f2347be79b81a03bee11c3a.tar.gz
zsh-73bbb6298857b4908f2347be79b81a03bee11c3a.tar.xz
zsh-73bbb6298857b4908f2347be79b81a03bee11c3a.zip
24483: minor sectioning fixes in doc
24485: note on includes for term.h
Diffstat (limited to 'Doc/Zsh/prompt.yo')
-rw-r--r--Doc/Zsh/prompt.yo14
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo
index 17d17fbbb..456a0bc0e 100644
--- a/Doc/Zsh/prompt.yo
+++ b/Doc/Zsh/prompt.yo
@@ -1,8 +1,6 @@
 texinode(Prompt Expansion)(Expansion)(Conditional Expressions)(Top)
 chapter(Prompt Expansion)
-ifzman(\
-sect(Prompt Expansion)
-)\
+sect(Expansion of Prompt Sequences)
 cindex(prompt expansion)
 cindex(expansion, prompt)
 Prompt sequences undergo a special form of expansion.  This type of expansion
@@ -31,9 +29,13 @@ represented as `tt(!!)'.
 pindex(PROMPT_PERCENT, use of)
 If the tt(PROMPT_PERCENT) option is set, certain escape sequences that
 start with `tt(%)' are expanded.
-Some escapes take an optional integer argument, which
+Many escapes are followed by a single character, although some of these
+take an optional integer argument that
 should appear between the `tt(%)' and the next character of the
-sequence.  The following escape sequences are recognized:
+sequence.  More complicated escape sequences are available to provide
+conditional expansion.
+
+sect(Simple Prompt Escapes)
 
 subsect(Special characters)
 startitem()
@@ -188,7 +190,7 @@ position.  Brace pairs can nest.
 )
 enditem()
 
-subsect(Conditional substrings)
+sect(Conditional Substrings in Prompts)
 startitem()
 item(tt(%v))(
 vindex(psvar, use of)