> I copy the /etc/DIR_COLORS to my $HOME directory
> with the name .dir_colors as suggested in such 
> file, but all the changes that I do in the colors
> definitions has no effect in the ls --color command. 
> I saved the .dir_colors file and exited from shell,
> invoking another xterm, but it do not make. Can
> someone tell me any suggestion ? 

Leave the /etc/DIR_COLORS where it is, and delete the one from your home
directory.  [not absolutely necessary, but only adds to the complexity otherwise]

Then edit /etc/bashrc and add the following line:

eval `/usr/bin/dircolors /etc/DIR_COLOR`
alias ls='/bin/ls --color=tty'

Make note of the correct quotes used.

Dave


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to