Customize jq output color.
Export the JQ_COLORS
configuration variable:
export JQ_COLORS="0;90:0;37:0;37:0;37:0;32:1;37:1;37:1;34"
Download and print the demo.json file to see the new color scheme:
cat demo.json | jq
Just add the configuration variable to your shell configuration file:
export JQ_COLORS="0;90:0;37:0;37:0;37:0;32:1;37:1;37:1;34"
export JQ_COLORS="0;90:0;37:0;37:0;37:0;32:1;37:1;37:1;34" # default
export JQ_COLORS="0;34:0;37:0;37:0;37:0;33:1;37:1;37:0;32"
export JQ_COLORS="0;90:0;37:0;37:0;37:0;36:1;37:1;37:1;35"
export JQ_COLORS="0;90:0;37:0;37:0;35:0;37:1;37:1;37:1;36"
export JQ_COLORS="0;90:0;37:0;37:0;37:0;35:1;37:1;37:1;34"
export JQ_COLORS="0;90:0;37:0;37:0;36:0;35:1;37:1;37:1;34"
export JQ_COLORS="0;90:0;37:0;37:0;37:0;32:1;37:1;37:1;33"
export JQ_COLORS="0;90:0;37:0;37:0;37:0;33:1;37:1;37:1;34"
export JQ_COLORS="0;90:0;37:0;37:0;37:0;36:1;37:1;37:1;34
export JQ_COLORS="0;90:0;37:0;37:0;37:0;33:1;37:1;37:1;35"
Isaac Benitez
2024