[4126] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: dircolors DOES NOT WORK

daemon@ATHENA.MIT.EDU (Erik Troan)
Tue Nov 12 19:11:57 1996

Date: Tue, 12 Nov 1996 19:09:32 -0500 (EST)
From: Erik Troan <ewt@redhat.com>
To: redhat-list@redhat.com
In-Reply-To: <199611130004.AA245513471@sioux.eel.ufl.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Tue, 12 Nov 1996, chris parman wrote:

> Heres what I did. I put ---> alias ls='ls --color' , in the .bashrc file 
> or you can put ---> alias ls 'ls --color' , in the .tcshrc file. It may 
> also work in the profile in /etc, but I haven't tested it yet.

It's a better idea to put "alias ls='ls --color=auto'" in your rc files. That
will keep ls from spitting out colors to a non-tty (i.e. ls | grep foo).

Erik

-------------------------------------------------------------------------------
|       I told you I'm not very bright -- Sugar in "Some Like It Hot"         |
|                                                                             |
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post