On Wed, Feb 16, 2005 at 04:43:11PM -0500, Thomas G. Mayfield wrote:
I've hacked my $LS_COLORS to the exact point I like it, and when I login
to my box, get just what I want. However, screen is somehow overwriting
this variable. I've tried manually setting $LS_COLORS using 'setenv
LS_COLORS <long_list>', and still it's wrong.
For an example, I added the following two lines to my .screenrc:
setenv FOO $LS_COLORS
setenv LS_COLORS $LS_COLORS
After screen starts up, however, $FOO and $LS_COLORS ($FOO, of course
being my hacked version, and $LS_COLORS being the system default). I've
looked through my .bashrc and .bash_profile, but the only entries they
contain regarding $LS_COLORS are my own--to set it to the custom values.
Any ideas?
Check out /etc/bash.bashrc and /etc/profile. (Your .bash_profile will
nor be read if the shell is not a "login" shell, so you should set
LS_COLORS in ~.bashrc.)
Cheers,
Michael.