[4128] in RedHat Linux List

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

Re[2]: dircolors DOES NOT WORK

daemon@ATHENA.MIT.EDU (W.D.McKinney)
Tue Nov 12 19:24:22 1996

From: "W.D.McKinney" <deem@deesign.com>
Date: Tue, 12 Nov 1996 15:02:43 -0900 (AKST)
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.93.961112190858.27568A-100000@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Erik Troan <ewt@redhat.com> wrote:
> 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


Erik is right on the money. 
Try putting that line in .bashrc in your user subdirectory.
Works excellent under my RHCL 4.0 sys.

Regards,

-Dee


W.D. McKinney (Dee)                      deem@deesign.com
DeeSign Alaska  1907-344-0398            http://www.deesign.com
Internet Solutions -=- Linux/NT Consulting -=- WWW Site Work


--
  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