[4125] 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 (chris parman)
Tue Nov 12 19:09:29 1996

Date: Tue, 12 Nov 1996 19:04:30 -0500 (EST)
From: chris parman <chev@eel.ufl.edu>
To: Jeffrey Ely <jeff@saaz.econ.nwu.edu>
Cc: redhat-list@redhat.com
In-Reply-To: <199611122334.RAA22643@saaz.econ.nwu.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

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.

-Chris 



 
> I have read the recent threads on dircolors.  I understand that
> dircolors defaults to using its own compiled-in color scheme.
> 
> I want to modify /etc/DIR_COLORS and do eval 'dircolors /etc/DIR_COLORS'.
> I see the following:
> 
> [jeff@hallertau jeff]$ dircolors /etc/DIR_COLORS
> LS_COLORS='no=00:fi=00:di=36:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:';
> export LS_COLORS          
> 
> notice the di=36 is changed from the defaults.  This should produce
> non-bold cyan directories.  But nothing changes.  If I do
> 
> LS_COLORS='di=36';export LS_COLORS
> 
> the directory colors are changed as I want them.
> 
> BUT, if I do:
> 
> LS_COLORS='di=36'
> export LS_COLORS
> 
> there is no change.
> 
> 
> --
>   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
> 
> 

**********************************************************************
* Chris Parman    Red Hat Linux release 4.0 (Colgate), Kernel 2.0.24 *
*                                                                    *
* University of Florida            Electrical Engineering Dept.      *
*                                                                    *
* Benton hall computer lab                                           * 
* operator/system admin. group                                       *
*                                                                    *
* http://www.eel.ufl.edu/~chev                                       * 
**********************************************************************


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