ghq icon indicating copy to clipboard operation
ghq copied to clipboard

Disable colors

Open teoljungberg opened this issue 3 years ago • 0 comments

I have a colorscheme where I do not use much coloring in my terminal, and realized that ghq(1) does not adhere to the environment variable NO_COLOR (from https://no-color.org/) - nor supplies any configuration allowing one to disable colors.

Example:

image

Is this something you'd consider as an addition to the project? I presume this comes from the go-colortext package, it does not have any configuration either to support this - but that might be by design.

As for how I'd do it personally (if I had the experience with go) - is to adhere to the NO_COLOR environment variable and support that out of the box. I'd be fine to have the log output not colorized at all as step 1.

teoljungberg avatar Jan 31 '22 13:01 teoljungberg