question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use CLICOLOR and CLICOLOR_FORCE

See original GitHub issue

Currently 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:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Sep 24, 2015

Also:

image

1reaction
sindresorhuscommented, Sep 24, 2015

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 behavior CLICOLOR=0 for off and CLICOLOR=1 for on, if nothing is set it would behave as normal.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found