This is the mail archive of the
mailing list for the Cygwin project.
RE: Problems with 'dircolors'
- From: "Long, Phillip GOSS" <Phillip dot Long at gossinternational dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 11 Oct 2006 17:56:49 -0400
- Subject: RE: Problems with 'dircolors'
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.
`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
environment variable) in the context of the current process (sort of
like using `source' or `.').
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...?
Mea culpa; I dropped the ball.
Try putting this line immediately after the `eval' line:
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
Thx, Phil the Old Coder
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html