zsh-users
 help / color / mirror / code / Atom feed
* completion colors differ on BSD/Linux
@ 2002-06-07  7:39 Jukka Lehti
  2002-06-07  9:17 ` Dennis Haney
  2002-06-10  7:29 ` Sven Wischnowsky
  0 siblings, 2 replies; 10+ messages in thread
From: Jukka Lehti @ 2002-06-07  7:39 UTC (permalink / raw)
  To: zsh-users

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?

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: completion colors differ on BSD/Linux
@ 2002-06-09 19:36 Jukka Lehti
  2002-06-09 19:57 ` Clint Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jukka Lehti @ 2002-06-09 19:36 UTC (permalink / raw)
  To: zsh-users; +Cc: Dennis Haney

> Try putting
> 
> eval `dircolors`
> colors
> 
> 
> in your .zshrc

Unforunately no such commands are available.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: completion colors differ on BSD/Linux
@ 2002-06-10  5:29 Jukka Lehti
  0 siblings, 0 replies; 10+ messages in thread
From: Jukka Lehti @ 2002-06-10  5:29 UTC (permalink / raw)
  To: zsh-users

> and if you're not using GNU ls, the option for color
ls > may not exist, or may be different.
> 
> in FreeBSD, the option is '-G', and the environment
> variable is "LSCOLORS".

Sorry if my initial mail was unclear, but I wasn't
talking about colored ls output - I was talking about
a case when completing, e.g.,

root@bsd:~> vi <TAB>
movie.avi   stuff.zip   test_dir   test.sh

and in that case the colors differ. (in the example
above, directory test_dir would be red, test.sh green
and other files uncolored).

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: completion colors differ on BSD/Linux
@ 2002-06-10 16:22 Jukka Lehti
  0 siblings, 0 replies; 10+ messages in thread
From: Jukka Lehti @ 2002-06-10 16:22 UTC (permalink / raw)
  To: zsh-users

> 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).

It seems that they are not the same in my case.

> The solution is to transfer the $LS_COLORS from the 
> Linux box to the BSD box.

I'll probably do this.

Thanks.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-06-10 16:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-07  7:39 completion colors differ on BSD/Linux Jukka Lehti
2002-06-07  9:17 ` Dennis Haney
2002-06-10  7:29 ` Sven Wischnowsky
2002-06-09 19:36 Jukka Lehti
2002-06-09 19:57 ` Clint Adams
2002-06-09 19:58 ` Calum Selkirk
2002-06-09 20:01   ` Will Yardley
2002-06-09 20:11 ` Dennis Haney
2002-06-10  5:29 Jukka Lehti
2002-06-10 16:22 Jukka Lehti

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).