mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] change jq theme
This commit is contained in:
parent
8f02ecf943
commit
093bd9837c
1 changed files with 14 additions and 0 deletions
14
zsh/env.zsh
14
zsh/env.zsh
|
@ -15,3 +15,17 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
|||
if [[ -z "$LS_COLORS" ]] && command_exists dircolors; then
|
||||
eval "$(dircolors --bourne-shell)"
|
||||
fi
|
||||
|
||||
# see COLORS in jq(1)
|
||||
jq_colors=(
|
||||
"0;38;5;16" # null
|
||||
"0;38;5;16" # false
|
||||
"0;38;5;16" # true
|
||||
"0;38;5;16" # numbers
|
||||
"0;32" # strings
|
||||
"0;39" # arrays
|
||||
"0;39" # objects
|
||||
)
|
||||
# join all values from jq_colors with a semicolon
|
||||
export JQ_COLORS="${(j.:.)jq_colors}"
|
||||
# unset jq_colors
|
||||
|
|
Loading…
Reference in a new issue