zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: show-ambiguity style
Date: Mon, 13 Apr 2015 20:57:14 +0000	[thread overview]
Message-ID: <20150413205714.GE2133@tarsus.local2> (raw)
In-Reply-To: <150411130249.ZM27498@torch.brasslantern.com>

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.


  parent reply	other threads:[~2015-04-13 20:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 21:36 Yuri D'Elia
2015-04-11  2:21 ` lilydjwg
2015-04-11 16:33 ` Vadim Zeitlin
2015-04-11 20:02   ` Bart Schaefer
2015-04-12 12:40     ` Yuri D'Elia
2015-04-12 18:58       ` Bart Schaefer
2015-04-12 21:03         ` Yuri D'Elia
2015-04-13 11:00           ` Jesper Nygårds
2015-04-13 15:25             ` Bart Schaefer
2015-04-13 19:20               ` Jesper Nygårds
2015-04-12 12:40     ` Yuri D'Elia
2015-04-13 20:57     ` Daniel Shahaf [this message]
2015-04-13 20:21 ` zzapper
2015-04-15 19:56   ` Yuri D'Elia
2015-04-20 21:51     ` zzapper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150413205714.GE2133@tarsus.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).