CLICOLOR.rst 610 B

12345678910111213141516171819
  1. CLICOLOR
  2. --------
  3. .. versionadded:: 3.21
  4. .. include:: include/ENV_VAR.rst
  5. Set to ``0`` to tell command-line tools not to print color
  6. messages even if connected to a terminal.
  7. This is a `common convention`_ among command-line tools in general.
  8. See also the :envvar:`NO_COLOR` and :envvar:`CLICOLOR_FORCE` environment
  9. variables. If either of them is activated, it takes precedence over
  10. :envvar:`!CLICOLOR`.
  11. See the :variable:`CMAKE_COLOR_DIAGNOSTICS` variable to control
  12. color in a generated build system.
  13. .. _`common convention`: https://web.archive.org/web/20250410160803/https://bixense.com/clicolors/