LS_COLORS environment variable

Matt Alexander plug-discuss@lists.plug.mybutt.net
Mon, 21 Jan 2002 12:26:42 -0800 (PST)


And for future reference, /etc/DIR_COLORS on RedHat has the color
settings.
~M


On Mon, 21 Jan 2002, David Mandala wrote:

> normally you have an alias set for ls to something like ls="ls --color=tty"
> redhat and manyothers do this by default . If you alias ls=ls most times the
> color will go away.
>
>
> > -----Original Message-----
> > From: Lynn David Newton [mailto:lynn.newton@home.com]
> > Sent: Monday, January 21, 2002 1:14 PM
> > To: Phoenix Linux Users Group
> > Subject: LS_COLORS environment variable
> >
> >
> > Here is another probably simple question to chew on.
> >
> > Somewhere there is an environment variable LS_COLORS is set
> > that can be
> > finely tuned to make a fancy-schmancy terminal window output
> > display with
> > lots of neat colors. Generally I like this feature.
> >
> > However, I'm trying to do some work where I have to provide
> > some screen
> > shots of a simple 80x24 terminal with "$ " prompt, and all I
> > want is plain
> > black and white. I can't figure out where this variable is
> > set or how to
> > turn it off. (It's *not* just a matter of saying unset LS_COLORS or
> > LS_COLORS="")
> >
> > I did discover in the ls(1) man page that --color=never will
> > do it, but I'd
> > rather avoid that. Also
> >
> > alias ls="ls --color=never"
> >
> > works. But there's gotta be a better way. Does someone know?
> >
> > --
> > Lynn David Newton
> > Phoenix, AZ
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your
> > mail doesn't post to the list quickly and you use Netscape to
> > write mail.
> >
> > PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.mybutt.net
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>