GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should enable color output in the shell scripts so that programmatic launching still gets the plain old version, but users by default get the nicer experience.
To enable it globally for sbt console you can create a ~/.sbt/0.13/colour.sbt with:
initialize ~= (_ => if (ConsoleLogger.formatEnabled) sys.props("scala.color") = "true")
Note that some environments still call the scripts that don't really want colorization, e.g. emacs, sublime.
PR: scala/scala#5663 :)