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

Re: Completion menu highlight colour



On Thu, 28 Oct 2010 09:53:39 +0100
David Evans <David.Evans@xxxxxxxxxxxx> 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 <pws@xxxxxxx>            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



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