X-Spam-Check-By: sourceware.org Message-ID: <452D8F8D.4010103@byu.net> Date: Wed, 11 Oct 2006 18:42:53 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problems with 'dircolors' References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Long, Phillip GOSS on 10/11/2006 3:56 PM: > Mea culpa; I dropped the ball. > > Try putting this line immediately after the `eval' line: > export LS_COLORS Useless advice. Have you looked at the output of dircolors? It already includes the necessary export line. Not to mention that if LS_COLORS were left a shell variable instead of exported, ls would not be able to see the changes in the first place. Trust me, dircolors is designed to work with ls, so any extra steps would be the sign of a bug in dircolors. Oh, by the way, if you use tcsh, be aware that it also uses the LS_COLORS environment variable internally, but that it does not understand quite as many options as ls does and gripes about what it doesn't understand, which is why I had to patch the cygwin version of LS_COLORS to silence stderr during the tcsh eval. Hopefully, a newer release of tcsh will allow me to remove that hack from coreutils. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFLY+N84KuGfSFAYARAiQvAJ9wD/0gSpeHA5kaM4VXDU+NawZ1KwCgit2M l6TESRhU8KMQ6eRYIW9TqH0= =iP0q -----END PGP SIGNATURE----- -- 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/