* bug in list-colors use of LS_COLORS?
@ 2003-07-18 21:46 Chris Goard
0 siblings, 0 replies; only message in thread
From: Chris Goard @ 2003-07-18 21:46 UTC (permalink / raw)
To: zsh-workers
I'm using the following directive to enable coloured completion lists:
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
If, in the dircolors configuration file, I declare that symbolic links should
inherit the color of their target (LINK target), then the completion list
display will be broken. For example:
[/usr/lib/mozilla/plugins]% ls
files ls _
argetmflashplayer.xpt@ argetmjavaplugin_oji.so@ argetmlibflashplayer.so@ li
bnullplugin.so
(_ is the position of the cursor after hitting tab)
I can work around this by declaring a colour for link twice in the dircolors
configuration file:
LINK 01;36
LINK target
zsh uses the first and ls uses the second. This, at least, doesn't result in a
munged display, but it would be nice if zsh could honour the target directive,
too.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-19 0:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 21:46 bug in list-colors use of LS_COLORS? Chris Goard
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).