Home Play Pinja Bobbity flop

A blog about Ruby, Rails and other Tech. Mostly.

Back to blog

23rd Feb 2005, 8:39am
LS colours in freebsd

I've been used to making sure my ls colours are in form by using eval `dircolors` in linux.

This doesn't work in freebsd. Use this instead in your .bashrc:

LSCOLORS="Exfxcxdxbxegedabagacad"
export LSCOLORS

The first E sets the colour of directories to a more legible blue than the default. Make sure ls is aliased to ls -G also.


Back to blog