X-Spam-Check-By: sourceware.org X-BigFish: V Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Problems with 'dircolors' Date: Wed, 11 Oct 2006 17:56:49 -0400 Message-ID: From: "Long, Phillip GOSS" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k9BLvG7b023069 -----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 * * * 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/