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

Re: why files do not follow LS_COLORS?



On Fri, 16 Mar 2012, Leonardo Barbosa wrote:

Hi,

I am using zsh and i trying to set "ls" colors like this. Files are colored, but they do not follow the colors i set. Curiously enough, during file completion they do. Any idea?

I am using OS X Lion

LS_COLORS works during file completion only because Zsh uses that variable. The external utility `ls` generally has LS_COLORS only on GNU systems, which doesn't include OSX.

osx-server$ man ls | grep -c LS_COLORS
0
linux-box$ man ls | grep -c LS_COLORS
1

--
Best,
Ben



Messages sorted by: Reverse Date, Date, Thread, Author