Simple dircolors database
Python
Latest commit abe07ab Sep 4, 2013 @jmcantrell fix line endings
Permalink
Failed to load latest commit information.
README.mkd updated readme Apr 24, 2011
dircolors-256 added less Jul 22, 2012
dircolors-256.yml added less Jul 22, 2012
dircolors-8 added less Jul 22, 2012
dircolors-8.yml added less Jul 22, 2012
dircolors.py fix line endings Sep 5, 2013
dircolors.tmpl Add existing files Apr 21, 2011

README.mkd

To install, just copy the dircolors file to your home directory like this:

cp dircolors-8 ~/.dircolors-8
cp dircolors-256 ~/.dircolors-256

In your shell configuration files, add the following:

dircolors=$HOME/.dircolors-$(tput colors)

if [[ -f $dircolors ]]; then
    eval $(dircolors -b $dircolors)
else
    eval $(dircolors)
fi

If you want to contribute, just fork and edit the dircolors.yml file. You can generate a new dircolors file like this:

python dircolors.py