This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problems with 'dircolors'


 

-----Original Message-----
From: Ricardo Cardoso
Sent: Wednesday, October 11, 2006 4:47 PM
To: cygwin mailing list
Subject: Re: Problems with 'dircolors'

Thanx in advance for the provided solution Philip, but I just can't
get it to work.
 You said:

`dircolors' comes with its own built-in colorization scheme; that's what
U get when U type `dircolors --print-database.'  If U want to
_customize_ your colorization scheme, dump the database to a file, like
<snip>
                                    *
                                    *
                                    *
</snip>
environment variable) in the context of the current process (sort of
like using `source' or `.').

HTH!

                                       Phil the Old Coder



I understand a bit more about the environment variable and I've done
exactly like you said.
I have a bash shell so I edited .bash_profile, usin VIM (it's awesome)
and then exited, entered cygwin again, startx, ls ..  nothing...
Everythings the same...

Any more solutions or ideas, anyone...?

Stuccio

--



Stuccio:

Mea culpa; I dropped the ball.

Try putting this line immediately after the `eval' line:
	export LS_COLORS

If U don't export an environment variable, it isn't passed to
subordinate processes (only the login shell gets it).  Again, I
apologize for forgetting this step; I use the exact line I said to use,
but it's in a file sourced by .bashrc, which is itself executed by
_every_ interactive shell, which means I don't have to export it to have
it available to every shell (I have my silly reasons for doing it this
way).

					Thx, Phil the Old Coder




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]