Go to file
Magnus Woldrich 3bdd401229 correct filetypes that were hardly readable
change darkest color allowed from 232 to 235 (dark grey).
Change OTHER_WRITABLE, STICKY, STICKY_OTHER_WRITEABLE and EXEC to fit in better.
2011-04-24 10:54:59 +02:00
LS_COLORS correct filetypes that were hardly readable 2011-04-24 10:54:59 +02:00
README.markdown README: correct second link 2011-04-14 11:46:20 +02:00

LS_COLORS

This is a collection of extension:color mappings, suitable to use as your LS COLORS environment variable. Most of them use the extended color map, described in the ECMA-48 document; in other words, you'll need a terminal with capabilities of displaying 256 colors.

As of this writing, around 300 different filetypes/extensions is supported. That's indeed a lot of extensions, but there's a lot more! Therefore I need your help.

Fork this project on github, add the extensions you are missing, and send me a pull request.

For files that usually ends up next to each other, like html, css and js, try to pick colors that fit nicely together. Filetypes with multiple possible extensions, like htm and html, should have the same color.

To install and use this file, put something like this is your shell resource file:

eval( dircolors -b $HOME/.dircolors )

where .dircolors is this file.

DEVELOPERS

There's a library I've written that lets you use various LS COLORS on arbitary files and directories. A simple implementation can be found here.

Using this, you can do

find $HOME -maxdepth 1  | ls_color

mpc search artist Laleh | ls_color

... and so on.

SO WHAT DOES IT LOOK LIKE

Here's a screenshot of the current selection:

LS_COLORS