Hi,
How can I configure Mac Terminal to have color ls output? I am using MacOS 10.5
Hi,
How can I configure Mac Terminal to have color ls output? I am using MacOS 10.5
You can add
alias ls='ls -G'
to your ~/.bash_profile
to get colored ls
output.
Edit:
~/.bash_profile
or
~/.profile
and add the following two lines:
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
you can use this if you are using a black background:
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
Bill - Thanks, setting the ~/.profile to export as you suggested solved the problem.
If you want a readable mac os x terminal color scheme, you may want to look into this:
http://blog.infinitered.com/entries/show/6
I've been using this for over a year now, and I might not be able to function without it!