Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Colored output from 'ls' (revisited)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Colored output from 'ls' (revisited)
Authored by: ajr on Oct 31, '03 04:14:44PM

This works in Terminal.app, but does not seem to work in X11.

Any ideas?



[ Reply to This | # ]
10.3: Colored output from 'ls' (revisited)
Authored by: fds on Oct 31, '03 08:48:02PM

You just have to set the TERM environment variable from the default "xterm" to "xterm-color" which is what the Apple Terminal.app uses.

So for example in bash:
export TERM="xterm-color"

In iTerm you can set the TERM value in the configuration dialog too.



[ Reply to This | # ]