Closed ksowa closed 4 months ago
What's the output of jq --version
@itchyny I edited my report, as initially I put a wrong version number.
jq-1.6
The color for object keys
in JQ_COLORS
was implemented in 1.7. Please update jq version.
I just updated to jq-1.7.1-51-gc127616
and it works as expected.
Thank you for your help!
Describe the bug When I tried to change
color for object keys
by setting the 8th item in theJQ_COLORS
variable, it didn't make any difference.Manual page: https://jqlang.github.io/jq/manual/v1.7/#colors
To Reproduce Create a
test.json
file with the following contents:Run a few commands, using different setting for the
color for object keys
value. For example:The outcome is always the same - the object keys are blue.
Expected behavior I would expect the color of object keys to change when I change the 8th color in the
JQ_COLORS
variable.All the other colors change as expected.
Environment (please complete the following information):
Ubuntu 22.04
jq-1.6