How can I configure Mac Terminal to have color ls output? I am using MacOS 10.5
|
migrated from stackoverflow.com Dec 14 '11 at 4:40
|
Edit:
or
and add the following two lines:
you can use this if you are using a black background:
|
|||||
|
|
You can add
to your |
|||||||||||||||||
|
|
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! |
|||||
|
|
Another option is to use the GNU You can get it via Rudix or Homebrew ( |
|||
|
|
|
Also you can customize the prompt color (and its format) by adding:
to Here is a full list of colors and their explanations: https://wiki.archlinux.org/index.php/Color_Bash_Prompt
|
|||
|
|
|
Forget all those decades-old cryptic codes for gosh sakes, use the built in Terminal --> Preferences... Settings pane to set the default skin, and edit the ANSI colors to your liking. You can set the font, too. I prefer Menlo 12pt. This is how any regular Joe can do it, and avoid all the crazy command-line, unix-esque way of doing things as other posters have suggested. |
|||||||||||
|
