From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25327 invoked by alias); 28 Oct 2010 09:28:14 -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: 15512 Received: (qmail 26884 invoked from network); 28 Oct 2010 09:28:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Thu, 28 Oct 2010 10:27:28 +0100 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: Completion menu highlight colour Message-ID: <20101028102728.465132a2@pwslap01u.europe.root.pri> In-Reply-To: <20101028085338.GA9376@cl.cam.ac.uk> References: <20101028085338.GA9376@cl.cam.ac.uk> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.9; i686-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Oct 2010 09:27:28.0547 (UTC) FILETIME=[56DEF730:01CB7682] X-Scanned-By: MailControl A-10-90-03 (www.mailcontrol.com) on 10.68.0.132 On Thu, 28 Oct 2010 09:53:39 +0100 David Evans wrote: > This is stupidity on my part, because I it working a few days ago. > > Completion menu selection works fine using > > zstyle ':completion:*' menu select=2 > > So, how am I supposed to alter the colour of the highlight? Simply > adding ma=... to the list-colours style seems odd (and also doesn't > seem to have any effect). But, as I said, I sorted this out before... I think using ma is the right way, and I even managed to get it to flash, so I turned that off again quickly. There isn't an ma already there? Look at print -l ${(z)"$(zstyle -L | grep list-colors)"} | grep ma= (Might produce obscure results if you have the style set in multiple contexts.) -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom