Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: show-ambiguity style
- X-seq: zsh-users 20159
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: show-ambiguity style
- Date: Mon, 13 Apr 2015 20:57:14 +0000
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=+VKa0IekWvaBQwdR7udm9L/6kPI=; b=MeNFc1 Xvjr2J+MXrIJv6ekC5ddg6QNsvOH2HOa/YYqY8kRE3ge8IDOfbgW7Hfe752hnLhO AABLGX50K2dcQeiroVlwXAhOLTFysvAJKKK4lrjAyhrMUiEiQBQbs6VL7T/ix+5M MSzCVlL/9QSDAIA3/U0s4qVz6dFw7sm0Bzl2Q=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=+VKa0IekWvaBQwdR7udm9L/6kPI=; b=ks4sV b4loJ7mAh3QfoLx5ODfe1eC9p4HsaRdbc60hMwVUWyGXCpHp2yYJGNiX9tCKAQ8k uqxJzlYPaV+nz53wazIyBHAfqJ8kAVrRjkjBphRiKhhJxX4095BimV0mg/q2Hhmc B0ePkDolYO7HpeFmlnbjCYLIbnDTygq9qtrzFA=
- In-reply-to: <150411130249.ZM27498@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <mg9fo4$d3$1@ger.gmane.org> <E1YgyLH-00089n-0P@smtp.tt-solutions.com> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author