Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: show-ambiguity style



Bart Schaefer wrote on Sat, Apr 11, 2015 at 13:02:49 -0700:
> Completion gets screwed up if show-ambiguity is not an ANSI term color
> attribute or one of the "true" strings (which by the way means you can't
> use boldface because "1" means "true" and is therefore replaced with "4"
> for underlining, but you can use e.g. "1;7" for "bold reverse video").

IIRC, both "1" and "01" work for bold.

The style was missing from the completion function:

diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index 8f6c412..2f8981d 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -125,6 +125,7 @@ styles=(
   select-prompt          c:
   select-scroll          c:
   separate-sections      c:bool
+  show-ambiguity	 c:
   show-completer	 c:bool
   single-ignored         c:single-ignored
   sort			 c:bool

I haven't checked whether other styles are also missing.



Messages sorted by: Reverse Date, Date, Thread, Author