Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 14:13:32 -0700 (MST)
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        Ron Rosson <insane@lunatic.oneinsane.net>
Cc:        stable@freebsd.org
Subject:   Re: Color ls
Message-ID:  <14708.51324.220209.189331@hip186.ch.intel.com>
In-Reply-To: <20000718140646.B76011@lunatic.oneinsane.net>
References:  <20000718140646.B76011@lunatic.oneinsane.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[ On Tuesday, July 18, Ron 'The InSaNe One' Rosson wrote: ]
>
> With the change to ls having the 'G' switch addded is there a way to get
> it to show colors in other than cons25. I read the man page and it is
> not clear on this.
> 
> TIA

Hmmmm. I didn't even see the -G switch get put in there, but I can't make ls
output any colors. For years I've always just compiled GNU ls out of fileutils
and named it 'gls' and used an alias .... not pretty but it works.

There's a utility there in fileutils called dircolors which spews shell code
to set an ENV variable (so that GNU ls understands which colors to use) given
the appropritate ".dir_colors" file.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               WCCG, CCE, Higher Levels of Abstraction       |
| Intel Corporation   MS: CH6-210   Phone: 480-554-9092   pgr: 602-868-6512 |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14708.51324.220209.189331>