From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14096 invoked by alias); 13 Apr 2015 15:25:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20153 Received: (qmail 3535 invoked from network); 13 Apr 2015 15:25:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=pDzyLbYrUg/ZwkwYzU3mSvKzYmwXr3Qp+RaGDSQIrrY=; b=Hq8+MzGroS2cCjdi00Ye3aMjobQTTI7G1oQ0AOX++4QykiOsxHwJmCECV7kxoHDUvt obRloR1gJMhNobdhFFlQTBeNixgeXNlAM6v1J5LSp1ThfNiyQy786JYUVDskZ5EV3gX9 3zWcvUWZT/Ujy+ImkTag07twZtOBtaUnOSzhHjPoBd9lgUG8+sVIP5SOebnULtBjv6rd zr1AbKaFzN2c0EiLf059c/iLaUW5mKZ072rvzwXL9y+yBOa9ZI0krAoa1z56tfz5HzL5 u4scedWSWYldq9apOsbySg3jPvLRQpGBSQM/NnOsopICAR6WyNcJSUfmVIUTzcf6wbV+ 5N6g== X-Gm-Message-State: ALoCoQktQwviWvt8a/9kF1h0WM7YVrLjxQCy4d9vtG6yCXAEfsQpUCVnuMe2Y3aojEMRddpsg8Fm X-Received: by 10.60.116.68 with SMTP id ju4mr12444969oeb.48.1428938725305; Mon, 13 Apr 2015 08:25:25 -0700 (PDT) From: Bart Schaefer Message-Id: <150413082521.ZM23777@torch.brasslantern.com> Date: Mon, 13 Apr 2015 08:25:21 -0700 In-Reply-To: Comments: In reply to Jesper Nygards "Re: show-ambiguity style" (Apr 13, 1:00pm) References: <150411130249.ZM27498@torch.brasslantern.com> <552A67C4.1080903@thregr.org> <150412115830.ZM21859@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: show-ambiguity style MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 13, 1:00pm, Jesper Nygards wrote: } } zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} } zstyle ':completion:*' show-ambiguity $color[bg-red] } } I only get EITHER the file type coloring or the ambiguity indication, } depending on the order of those two lines. It shouldn't depend on the order of the lines. I think if you look more closely, you'll find that you get show-ambiguity any time there *is* an ambiguity, and list-colors the rest of the time. } In an ideal world, I would like to have the file type coloring, AND then } something that indicates where the ambiguity starts, but this is perhaps } not possible to achieve? It's not currently possible because show-ambiguity is a trick done in shell script code that sits on top of list-colors which is done in the underlying C code. There's a bit of side discussion on zsh-workers about this right now, but nobody immediately available to make changes to the zsh/complist module.