Mr. Jones,
I am not real familiar with the setting of this feature, but I know that the
default .bashrc has the "User specific aliases and functions" section before
the "Source global definitions." If you do not place your ls definitions (or
evaluate your DIRCOLORS) after the global definitions you will experience
problems as the global section will apply the default DIRCOLORS.
Also, on redhat 7 each user should be able to copy /etc/DIR_COLORS to
~/.dircolors and make their changes to the .dircolors file in their home
directories. (NOTE: the .dircolors file has no underscore.
HTH,
Chad
> I wasn't clear about my problem with colors in the "ls" command. I get
> the colors ok. It's getting *user-specific" colors that is the problem.
> With "ls" colors set by /etc/DIR_COLORS for all users, users with
> different
> background colors on their xterms may have readability problems. That's
> what
> I get unless ...... I do the following:
>
> The command
> eval `dircolors -b $HOME/.dir_colors`
> is able to make "ls" colors *xterm-specific* AND user-specific, *IF* the
> command is given in a specific xterm. It won't take effect in other
> xterms.
> What I want is to make the colors take effect for all xterms the user
> may
> create at any time.
>
> I have tried to do this by putting the command in .bashrc and
> .bash_profile.
> The latter doesn't work, and the former hangs the user's login in the
> pre-X
> stage. I don't understand either of these results.
>
> Maybe if I could make the command act with each creation of an xterm
> ..??
>
> Thanks,
>
> bob jones ([EMAIL PROTECTED])
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list