Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion colors differ on BSD/Linux



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