Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--color always revisited #261

Closed
joshka opened this issue Nov 16, 2024 · 2 comments · Fixed by #263
Closed

--color always revisited #261

joshka opened this issue Nov 16, 2024 · 2 comments · Fixed by #263

Comments

@joshka
Copy link
Contributor

joshka commented Nov 16, 2024

Cargo has a CARGO_TERM_COLOR environment variable which can be used to force colored output.
Adding a new top level item that allows environment variables to be set for all commands seems like it might solve #124 properly without having to litter commands with --color always in the config.

I'd suggest expanding #146 to make global environment vars.

The workaround of setting these in the .cargo/config.toml is not quite right as that would affect all cargo usages, but I only want to affect usages of cargo from Bacon.

@Canop
Copy link
Owner

Canop commented Nov 16, 2024

This is very interesting, I didn't know this variable.

@Canop Canop closed this as completed in ac1c8ea Nov 16, 2024
@joshka
Copy link
Contributor Author

joshka commented Nov 16, 2024

This is very interesting, I didn't know this variable.

Neither did I until yesterday :)

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 a pull request may close this issue.

2 participants