about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-12-05 19:38:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-12-05 19:38:07 +0000
commit7bc089c6beeca8bcfbff107d64b493ce9e442283 (patch)
treee75645346a4a604344f58a6371daf687811d7ab1 /Doc/Zsh/zle.yo
parent2fc15d198a993449c11abb5a1a293077c81ebae0 (diff)
downloadzsh-7bc089c6beeca8bcfbff107d64b493ce9e442283.tar.gz
zsh-7bc089c6beeca8bcfbff107d64b493ce9e442283.tar.xz
zsh-7bc089c6beeca8bcfbff107d64b493ce9e442283.zip
Mikael: 27453: highlighting for removable completion suffixes
27466: document it
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo14
1 files changed, 13 insertions, 1 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 224023752..91c13a563 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2163,6 +2163,17 @@ Individual characters that have no direct printable
 representation but are shown in a special manner by the line editor.
 These characters are described below.
 )
+cindex(completion removable suffix, highlighting)
+cindex(suffix, highlighting removable, in completion)
+cindex(removable suffix, highlighting in completino)
+item(tt(suffix))(
+This context is used in completion for characters that are
+marked as suffixes that will be removed if the completion ends
+at that point, the most obvious example being a slash (tt(/)) after
+a directory name.  Note that suffix removal is configurable; the
+circumstances under which the suffix will be removed may differ
+for different completions.
+)
 enditem()
 
 tt(zle_highlight) may contain additional fields for controlling how
@@ -2235,6 +2246,7 @@ not usually affected by the bold attribute.
 )
 item(tt(bold))(
 The characters in the given context are shown in a bold font.
+Not all terminals distinguish bold fonts.
 )
 item(tt(standout))(
 The characters in the given context are shown in the terminal's standout
@@ -2280,7 +2292,7 @@ If tt(zle_highlight) is not set or no value applies to a particular
 context, the defaults applied are equivalent to
 
 example(zle_highlight=LPAR()region:standout special:standout
-isearch:underline+RPAR())
+suffix:bold isearch:underline+RPAR())
 
 i.e. both the region and special characters are shown in standout mode.