zsh-users
 help / color / mirror / code / Atom feed
From: John Cooper <john.cooper@eu.citrix.com>
To: zsh-users@sunsite.dk
Subject: Odd behavior with ZLS_COLORS
Date: 14 Mar 2001 15:53:46 +0000	[thread overview]
Message-ID: <m3itlcibxx.fsf@kontiki.cam.eu.citrix.com> (raw)

[ZSH_VERSION is 4.0.1-pre-2]

I have `zmodload zsh/complist' in my .zshrc file, but after attempting
completion, my ZLS_COLORS variable seems to get cleared:

  % ZLS_COLORS=$LS_COLORS
  % echo $ZLS_COLORS
  di=1;31:ex=1;32:*.dll=1;32:*.java=1;33:*.c=1;33:*.html=1;33:*.htm=1;33:*.el=1;35:*.zip=1;35:*.gz=1;35:*.tar=1;35:*.jar=1;35:*.cab=1;35
  % ls apacheTAB
  ApacheJServ-1.1.2/  apache_1.3.14/    
  % echo $ZLS_COLORS

  %

Oddly, the coloring of file names is identical to what I get with GNU `ls' with
the sole exception that zsh completion gives me directories in blue, but ls
shows them in red!

I've discovered (from the docs) that the following zstyle incantation causes
the zsh completions to exactly match my ls completions (including red
directories), but I thought I'd mention the red/blue strangeness anyway, as I'm
curious if there's an obvious explanation.

  zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

    --- John


             reply	other threads:[~2001-03-14 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-14 15:53 John Cooper [this message]
2001-03-14 15:58 ` Peter Stephenson
2001-03-15  9:46 Sven Wischnowsky

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=m3itlcibxx.fsf@kontiki.cam.eu.citrix.com \
    --to=john.cooper@eu.citrix.com \
    --cc=zsh-users@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).