CLICOLOR.rst 582 B

12345678910111213141516171819
  1. CLICOLOR
  2. --------
  3. .. versionadded:: 3.21
  4. .. include:: ENV_VAR.txt
  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:`CLICOLOR_FORCE` environment variable.
  9. :envvar:`CLICOLOR_FORCE`, if activated, 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/20230417221418/https://bixense.com/clicolors/