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

Override field color with JQ_COLORS #1977

Closed
wants to merge 2 commits into from

Conversation

rbolsius
Copy link

This is a small enhancement to make the field color configurable via the existing JQ_COLORS environment variable by allowing the field color to be specified as the eighth color. If JQ_COLORS contains only seven colors, then the field color will continue to default to bold blue (1;34).

Below is an example JQ_COLORS string that makes the field names bold yellow:

export JQ_COLORS='1;30:1;32:1;32:1;32:1;31:0;37:0;37:1;33'

@rbolsius rbolsius closed this Sep 13, 2019
@itchyny
Copy link
Contributor

itchyny commented Jul 21, 2023

Implemented by #2703.

@itchyny itchyny closed this Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants