I am trying to get terminal colors working in 10.9. I have tried ls -G, I have tried exporting CLICOLOR=1, I have set a bunch of different TERM settings and none of it works. Anyone know what the magic incantation is?
MacOS – Terminal colors in Mavericks
macosterminal
Related Question
- More colors than ls -G in file extensions
- MacOS – Terminal not displaying colors for directory listings
- MacOS – Changing terminal colors for normal files when ls -G or within .bash_profile
- MacOS – Looking for a black/white only terminal emulator on Mac
- Restore Option-Left and Option-Right in macOS Terminal – Action Sequence
- What the point of custom ANSI colors in Terminal Preferences
- ANSI terminal colors are somehow dimmed
- macOS Terminal – Get Multiple Independent Window Background Colors
Best Answer
The default
ls
program on Mavericks is BSDls
, andls -G
is the magic incantation. Thels
program included in GNU Core Utilities lists with color when using the--color=auto
flag,ls --color=auto
. If you've possibly installed Core Utilities and neither of these work, try firing up a default Terminal.app profile (Basic, for example) and see if that works.