screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $LS_COLORS


From: Thomas G. Mayfield
Subject: Re: $LS_COLORS
Date: Thu, 17 Feb 2005 15:32:41 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Michael Schroeder wrote:
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.


Mea culpa. Noticed that screen sets its own $TERM and just had to add "TERM screen" to the top of /etc/DIR_COLORS. Sorry to have wasted your time.

--Thoma




reply via email to

[Prev in Thread] Current Thread [Next in Thread]