Home Play Pinja Bobbity flop

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

Back to blog

19th Oct 2005, 6:56am
Getting colours in ls and emacs on FreeBSD

I spent some time trying to get colours to work in my putty terminal logged into a FreeBSD box. Eventually I came across this excellent advice: Having trouble seeing colours in your PuTTY terminals? Set your terminal-type string in the connection options to "xterm-color" instead of the default "xterm" and colours should work correctly.

Also try this in your .bash_profile (or whatever startup file you are using):

export CLICOLOR="YES"
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"

Back to blog