Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Globally disable color? #1073

@saper

Description

@saper

I cannot find the way to globally disable color in the pre-commit output. Setting only the background color to green and not changing the foreground color does not work for my terminal with the following settings in the Xt resources (as set in the ${HOME}/.Xresources file):

Rxvt.background: black
Rxvt.foreground: deepSkyBlue

Is there a way? It would be great to respect https://no-color.org/ environment variable. And, while we are here, maybe understand the following git config setting:

[color]
        ui = never

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions