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

jq colorscheme in env vars >:) #87

Open
rpdelaney opened this issue Dec 21, 2018 · 0 comments
Open

jq colorscheme in env vars >:) #87

rpdelaney opened this issue Dec 21, 2018 · 0 comments

Comments

@rpdelaney
Copy link
Owner

COLORS
       To configure alternative colors just set the JQ_COLORS environment variable to colon-delimited list of partial terminal escape sequences like "1;31", in this order:

       o   color for null
       o   color for false
       o   color for true
       o   color for numbers
       o   color for strings
       o   color for arrays
       o   color for objects

       The default color scheme is the same as setting "JQ_COLORS=1;30:0;39:0;39:0;39:0;32:1;39:1;39".
       This is not a manual for VT100/ANSI escapes. However, each of these color specifications should consist of two numbers separated by a semi-colon, where the first number is one of these:

       o   1 (bright)
       o   2 (dim)
       o   4 (underscore)
       o   5 (blink)
       o   7 (reverse)
       o   8 (hidden)

       and the second is one of these:

       o   30 (black)
       o   31 (red)
       o   32 (green)
       o   33 (yellow)
       o   34 (blue)
       o   35 (magenta)
       o   36 (cyan)
       o   37 (white)
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

No branches or pull requests

1 participant