* LS_COLORS, zstyle list-colors, and ZSH-4.2.1
@ 2004-08-31 14:15 Tom Martin
2004-08-31 15:23 ` Andy Spiegl
0 siblings, 1 reply; 3+ messages in thread
From: Tom Martin @ 2004-08-31 14:15 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
Hi all,
First time poster to this list, but I've been lurking for a while. Anyway.
I recently upgraded to zsh-4.2.1. I have always used some lines in my .zshrc to use
LS_COLORS with completion lists/menus:
zmodload -i zsh/complist
eval $(dircolors ~/.dir_colors)
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
This has always worked fine, but with the recent upgrade to 4.2.1, it no longer works
and I get a default set of colours, although I'm not sure where they're coming from -
the only stuff that seems to be highlighted is executables in green, directories in
red, and symlinks in blue.
The LS_COLORS variable itself seems to be good and well, as they work fine with ls
itself.
Thanks in advance,
Tom
--
Tom Martin
Gentoo Linux AMD64 Developer
GPG Public key available on pgp.mit.edu, 0xB5C4FF89
IRC: slarti` ~ irc.freenode.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: LS_COLORS, zstyle list-colors, and ZSH-4.2.1
2004-08-31 14:15 LS_COLORS, zstyle list-colors, and ZSH-4.2.1 Tom Martin
@ 2004-08-31 15:23 ` Andy Spiegl
2004-09-01 13:06 ` Vincent Lefevre
0 siblings, 1 reply; 3+ messages in thread
From: Andy Spiegl @ 2004-08-31 15:23 UTC (permalink / raw)
To: zsh-users
> zmodload -i zsh/complist
> eval $(dircolors ~/.dir_colors)
> zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
I don't know if this helps but I'm doing it like this:
zstyle ':completion:*' list-colors ''
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
But I'm still using zsh 4.2.0
Andy.
--
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The product is seldom as good as the advertisement.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: LS_COLORS, zstyle list-colors, and ZSH-4.2.1
2004-08-31 15:23 ` Andy Spiegl
@ 2004-09-01 13:06 ` Vincent Lefevre
0 siblings, 0 replies; 3+ messages in thread
From: Vincent Lefevre @ 2004-09-01 13:06 UTC (permalink / raw)
To: zsh-users
On 2004-08-31 17:23:15 +0200, Andy Spiegl wrote:
> > zmodload -i zsh/complist
> > eval $(dircolors ~/.dir_colors)
> > zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
>
> I don't know if this helps but I'm doing it like this:
> zstyle ':completion:*' list-colors ''
> zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
>
> But I'm still using zsh 4.2.0
I'm doing like this:
zmodload -i zsh/complist
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
(I just don't have your first zstyle line) and this works well
with zsh 4.2.1.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-01 13:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-31 14:15 LS_COLORS, zstyle list-colors, and ZSH-4.2.1 Tom Martin
2004-08-31 15:23 ` Andy Spiegl
2004-09-01 13:06 ` Vincent Lefevre
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).