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'

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   
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

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