I’m new to OS X, having just gotten a Mac after working with Ubuntu Linux for some time. Among the many things I’m trying to figure out is the absence of colors in my terminal window – like the ones that are shown (on Linux) when running ls -la or git status…
I just can’t figure out how to activate colors in my shell.
7 s 7
Here is a solution I’ve found to enable the global
terminal colors.
Edit your .bash_profile (since OS X 10.8) — or (for 10.7 and earlier): .profile or .bashrc or /etc/profile (depending on availability) — in your home directory and add following code: