summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-17 04:32:05 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-17 04:32:05 +0100
commitec29b4c137f79f525267b56879be206eebda5639 (patch)
tree0610faccd4cd92935877f0cfbde88de838bd11c8 /Doc/Zsh
parent54034: ignore completer filenames with funny characters in them (diff)
downloadzsh-ec29b4c137f79f525267b56879be206eebda5639.tar
zsh-ec29b4c137f79f525267b56879be206eebda5639.tar.gz
zsh-ec29b4c137f79f525267b56879be206eebda5639.tar.bz2
zsh-ec29b4c137f79f525267b56879be206eebda5639.tar.lz
zsh-ec29b4c137f79f525267b56879be206eebda5639.tar.xz
zsh-ec29b4c137f79f525267b56879be206eebda5639.tar.zst
zsh-ec29b4c137f79f525267b56879be206eebda5639.zip
54075: allow highlighting to be reset in prompts using %H without following braces
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/prompt.yo1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo
index 9b713ce4a..d68f00826 100644
--- a/Doc/Zsh/prompt.yo
+++ b/Doc/Zsh/prompt.yo
@@ -256,6 +256,7 @@ 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.
+If the following braces are absent, attributes are reset to the defaults.
)
item(tt(%{)...tt(%}))(
Include a string as a literal escape sequence.