zsh-workers
 help / color / mirror / code / Atom feed
From: Chris Goard <cgoard@cs.mcgill.ca>
To: zsh-workers@sunsite.dk
Subject: bug in list-colors use of LS_COLORS?
Date: Fri, 18 Jul 2003 17:46:42 -0400	[thread overview]
Message-ID: <20030718214642.GA12151@cs.mcgill.ca> (raw)

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.


                 reply	other threads:[~2003-07-19  0:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030718214642.GA12151@cs.mcgill.ca \
    --to=cgoard@cs.mcgill.ca \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).