Simple dircolors database
Pull request Compare This branch is 3 commits behind jmcantrell:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.mkd
dircolors-256
dircolors-256.yml
dircolors-8
dircolors-8.yml
dircolors.py
dircolors.tmpl

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