From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9731 invoked by alias); 16 Mar 2012 18:08:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16896 Received: (qmail 6795 invoked from network); 16 Mar 2012 18:08:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at benizi.com designates 64.130.10.15 as permitted sender) Date: Fri, 16 Mar 2012 14:07:36 -0400 (EDT) From: "Benjamin R. Haskell" To: Leonardo Barbosa cc: zsh-users@zsh.org Subject: Re: why files do not follow LS_COLORS? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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