This is the mail archive of the
mailing list for the Cygwin project.
Re: Problems with 'dircolors'
-----BEGIN PGP SIGNED MESSAGE-----
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 firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html