On Thu, Nov 08, 2007 at 03:09:02PM -0800, Daryl Spitzer wrote:
> How do I configure bash and/or iTerm to display stderr output in a
> different color?
Bash and the term don't really know what text came from stdout and what
came from stderr. Without capturing both output streams and wrapping 'em
in ANSI (or re-writing the app to output ANSI directly) I don't think it's
possible.
> I found instructions for getting `ls` output to display in color: put
> the following in ~/.bash_profile:
Note that ls natively supports colorizing stuff so it can directly output
the necessary ANSI sequences.
-Ben
--
Ben Beuchler There is no spoon.
in...@em... -- The Matrix
|