« Dancing girl optical illusionSpam filtering enhancement to Horde accepted »

14 comments

Comment from: MightyBigCar [Visitor]
Well, it isn't too secret. Try here:
http://dailypackage.fedorabook.com/index.php?/archives/109-Wednesday-Why-Colour-ls.html
11/22/08 @ 01:11
Comment from: David Newcomb [Member]
Email
I don't think that your reference goes anywhere near describing how to do "Configuring LS_COLORS" but I'll allow it in for two reasons:
1) the fact that anyone makes a comment is nice!
2) It's another link to LS_COLORS which is a bit of a complicated affair, so the more links the better.

Added
I know that I get about 400 page views (per month) of this article, but if I mention affair, will I get all the porn hunters looking here? Oh no, I've mentioned porn does that mean I'll get even more? I'll analyse the blog stats over the next couple of months and let you know... (in another blog!)
11/22/08 @ 01:57
Comment from: ri [Visitor]
i've searched in vain for the answer to this: I want to remove sg colors BUT have it use the extension colors instead i.e. ignore the sticky bit. setting sg=00 or removing it from ~/.dir_colors just makes those files black-n-white without the pretty colors by extension.
thanks for any help.
12/06/08 @ 02:53
Comment from: David Newcomb [Member]
Email
I'm afraid Ri you are out of luck. The sticky bit takes precedence over the other file types. Once "ls" sees that the file is sticky the extension settings are never read.
It's an interesting request, you may want to email the GNU team and add it as a feature request or bug.
Try here: GNU FileUtils Project
12/07/08 @ 23:24
Comment from: Rita [Visitor]
Thanks from me and from my eyes!
01/14/09 @ 09:25
Comment from: myname [Visitor]
please add:

97 - White (-:
05/21/09 @ 14:40
Comment from: acne [Visitor]
· http://www.oratin.com
Colours make it much easier to read .
05/22/09 @ 10:17
Comment from: Wh1mpy [Visitor]
This tut was very useful for me and my eyes. I almost went blind staring at blue letters. Many thanks for you're effort..
07/19/09 @ 04:02
Comment from: peter [Visitor]
Email
I see that you can choose file extensions to color, but is there a way to color hidden files for when i do 'ls -a' like '.cshrc'? It doesn't accept '.*' as a valid entry.
07/22/09 @ 21:36
Comment from: your lastname [Visitor]
· http://www.change-my-life.com
Thanks for your great tip! It made my shell colorful!
10/24/09 @ 09:26
Comment from: anthony [Visitor]
· http://www.gentoo.org
I've known and used ansi color sequences for a long time now, and this is the first reference to the 'Extra colours' that I've ever seen.

Sure enough, I tried them out and they all work! Awesome. (now I'm gonna waste a good chunk of time seeing how I can further customize all my syntax highlighting, LS_COLORS, zsh completion menu colors, etc etc...)

Where did you find out about these?
11/03/09 @ 06:53
Comment from: edigitalwholesale [Visitor]
· http://www.edigitalwholesale.com
Thanks for good knowledge.
it's very useful way to change color.
01/19/10 @ 05:15
Comment from: Pete [Visitor]
This was very useful. Thanks for sharing. :-)
01/21/10 @ 15:33
Comment from: ed [Visitor]
Since your solution of :
LS_COLORS="ow=01;90:di=01;90"
export LS_COLORS
overwrites a possible existing configuration of LS_COLORS, you can juste substitute the existing definition with sed (stream editor) as follows :

LS_COLORS="`echo $LS_COLORS |sed 's/di=[0-9]*;[0-9]*/di=01;34/; s/ow=[0-9]*;[0-9]*/ow=01;34/'`"
export LS_COLORS

Regards
02/23/10 @ 10:38

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
Please enter "notspam" (without the quotes) in the box below
antispam test