Use CLICOLOR and CLICOLOR_FORCE
See original GitHub issueCurrently FORCE_COLOR
is used to force color support. It would be great if we can agree upon some sort of standard for the name of this environment variable as many tools need something like this (e.g. compilers, build tools, …) written in lots of different languages.
As this really bugs me (working with Jenkins and atom-build and still not seeing colored output even though it would work), I’ve written a page about it here: http://bixense.com/clicolors/
What do you think? With CLICOLOR=0
this would also fix #31.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:20 (12 by maintainers)
Top Results From Across the Web
CLICOLOR and LS_COLORS in bash - Unix Stack Exchange
With GNU ls, e.g. on Linux, ls shows colors if --color is passed on the command line. The actual colors are configured through...
Read more >RStudio Workbench Administration Guide – rsession.conf
Specifies the default TERM setting for the R console. Type: string. Default: xterm-256color. session-default-clicolor-force. Specifies the default ...
Read more >How to enable colorized output for ls command in MacOS
The ls command supports the following environment variables: CLICOLOR – Use ANSI color sequences to distinguish file types. LSCOLORS – The value ...
Read more >Files · master · Ali Mohammad Pur / KWSys · GitLab
This library is intended to be shared among many projects at the source level, so it has a configurable namespace. Each project should...
Read more >miette - Support CLICOLOR / CLICOLOR_FORCE - developer blog
description. You might want to support this: https://bixense.com/clicolors/. It's a better (and older) alternative to NO_COLOR that a number of tools ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also:
I’ll need to think about it, but tbh not a big fan of the
CLICOLOR != 0
behavior and the fact that there’s two variables. I would have preferred a binary behaviorCLICOLOR=0
for off andCLICOLOR=1
for on, if nothing is set it would behave as normal.