Skip to content

Add ENV["FORCE_COLOR"] environment variable - #930

Open
duggiefresh wants to merge 1 commit into
rails:mainfrom
duggiefresh:921-force-color
Open

Add ENV["FORCE_COLOR"] environment variable#930
duggiefresh wants to merge 1 commit into
rails:mainfrom
duggiefresh:921-force-color

Conversation

@duggiefresh

Copy link
Copy Markdown

Allows user to set a ENV["FORCE_COLOR"] variable regardless if tty or ENV["NO_COLOR"] is set.

Fixes #921

Allows user to set a `ENV["FORCE_COLOR"]` variable regardless if tty or
`ENV["NO_COLOR"]` is set.

Fixes rails#921
@JoelTowell

JoelTowell commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Nice! Should close this PR as well. 🙂

@duggiefresh

Copy link
Copy Markdown
Author

Thanks, happy to have helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to force color when tty detection is inaccurate or undesired

2 participants