Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion colors differ on BSD/Linux
- X-seq: zsh-users 5042
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: completion colors differ on BSD/Linux
- Date: Mon, 10 Jun 2002 09:29:47 +0200
- In-reply-to: <20020607073931.41649.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020607073931.41649.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Jukka Lehti wrote:
> Hi,
>
> I have in my ~/.zshrc following line:
>
> zstyle ':completion:*:default' list-colors
> "${(s.:.)LS_COLORS}"
>
> On a Linux, completion colors match nicely to colors
> of GNU ls. But on *BSD, directories are red and tar/gz
> are uncolored. Sym links and executables same as on
> Linux. On Linux LS_COLORS has tons of definitions, on
> *BSD it is empty. Replacing "${(s.:.)LS_COLORS}" with
> '' doesn't help. The problem exists on xterm and on
> console.
>
> Any ideas what's going on here?
Setting the style to an empty string gives you the internal defaults,
which should eb the same as the defaults for GNU ls (if we've found
that out correctly).
The solution is to transfer the $LS_COLORS from the Linux box to the
BSD box. Unless you want to install the whole GNU fileutils suite
there, as suggested by others.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author