LS Colours in OSX

I don’t like the default black on white in OSX Terminal (in fact, I’ve just remembered, I don’t like OSX Terminal, I’ll make another post about that). And the only dark background that’s close to anything good is homebrew, but ls doesn’t have colour.

A quick search pulls up a stack post on Ask Different that details the appropriate exports:

export CLICOLOR=1
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"

I didn’t really like the bold directory and found another in the comments:

export LSCOLORS="gxBxhxDxfxhxhxhxhxcxcx"

yeah, but I didn’t really like that either. Then *further* in the comments I found a link to:¬†https://geoff.greer.fm/lscolors/ where you can customise the colour scheme to your hearts content. :)

I fumbled around for a bit, but in the end I settled with: gxfxcxdxbxegedabagacad

Leave a Reply

Your email address will not be published. Required fields are marked *