delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/11/17:57:21

X-Spam-Check-By: sourceware.org
X-BigFish: V
MIME-Version: 1.0
Subject: RE: Problems with 'dircolors'
Date: Wed, 11 Oct 2006 17:56:49 -0400
Message-ID: <CA77FC40E7A2D24695CF3C790BB731858862CE@DOVMS10001.goss.gossinternational.com>
From: "Long, Phillip GOSS" <Phillip DOT Long AT gossinternational DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
<snip>
                                    *
                                    *
                                    *
</snip>
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019