about summary refs log tree commit diff
path: root/Doc/Zsh/prompt.yo
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-02-15 14:50:56 +0100
committerOliver Kiddle <opk@zsh.org>2024-02-15 14:50:59 +0100
commit173c0b14ab9ad1f54e74a2573d8212a720df1762 (patch)
tree152fef7a325a7dbd57d5fdda5765a444a9743cd5 /Doc/Zsh/prompt.yo
parent14c230dc3216b7fe0f63d797347e14178d4ede2b (diff)
downloadzsh-173c0b14ab9ad1f54e74a2573d8212a720df1762.tar.gz
zsh-173c0b14ab9ad1f54e74a2573d8212a720df1762.tar.xz
zsh-173c0b14ab9ad1f54e74a2573d8212a720df1762.zip
52535: documentation for highlight groups and layers
Diffstat (limited to 'Doc/Zsh/prompt.yo')
-rw-r--r--Doc/Zsh/prompt.yo8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo
index 909012c8e..de988ab7c 100644
--- a/Doc/Zsh/prompt.yo
+++ b/Doc/Zsh/prompt.yo
@@ -246,6 +246,14 @@ item(tt(%K) LPAR()tt(%k)RPAR())(
 Start (stop) using a different bacKground colour.  The syntax is
 identical to that for tt(%F) and tt(%f).
 )
+item(tt(%H))(
+Change all character visual attributes using a highlighting specification from
+the tt(.zle.hlgroups) associative array. The key is specified in following
+braces so, for example tt(%H{error}) will use the highlighting specification
+for the `error' group.  If the key is not found in the associative array then
+it has no effect.  Highlighting specifications are in the same format as for
+the tt(zle_highlight) parameter.
+)
 item(tt(%{)...tt(%}))(
 Include a string as a literal escape sequence.
 The string within the braces should not change the cursor