[zsh] update my syntax theme

This commit is contained in:
Dmytro Meleshko 2019-09-03 19:57:30 +03:00
parent c32debefef
commit 094947c1ad
2 changed files with 22 additions and 9 deletions

View file

@ -40,3 +40,7 @@ if is_android; then
elif is_linux && command_exists xdg-open; then elif is_linux && command_exists xdg-open; then
open() { nohup xdg-open "$@" &> /dev/null; } open() { nohup xdg-open "$@" &> /dev/null; }
fi fi
set-my-syntax-theme() {
fast-theme "$ZSH_DOTFILES/my-syntax-theme.ini"
}

View file

@ -1,37 +1,46 @@
; default theme, also embedded in the source of fast-syntax-highlighting
[base] [base]
default = none default = none
unknown-token = red,bold unknown-token = red,bold
commandseparator = none commandseparator = none
redirection = none redirection = none
here-string-tri = yellow here-string-tri = none
here-string-word = bg:blue here-string-text = 18
here-string-var = cyan,bg:18
exec-descriptor = yellow,bold exec-descriptor = yellow,bold
comment = white comment = white
correct-subtle = bg:blue correct-subtle = 12
incorrect-subtle = red incorrect-subtle = red
subtle-bg = bg:blue subtle-separator = green
subtle-bg = bg:18
secondary = secondary =
; recursive-base =
[command-point] [command-point]
reserved-word = yellow reserved-word = yellow
subcommand = yellow subcommand = yellow
alias = green alias = green
suffix-alias = green suffix-alias = green
global-alias = bg:blue global-alias = black,bg:blue
builtin = green builtin = green
function = green function = green
command = green command = green
precommand = green precommand = green
hashed-command = green hashed-command = green
single-sq-bracket = green
double-sq-bracket = green
double-paren = yellow
[paths] [paths]
path = none path = none
pathseparator = pathseparator =
path-to-dir = none,underline path-to-dir = none,underline
globbing = blue,bold globbing = blue,bold
globbing-ext = 13
[brackets] [brackets]
paired-bracket = bg:blue paired-bracket = black,bg:blue
bracket-level-1 = green,bold bracket-level-1 = green,bold
bracket-level-2 = yellow,bold bracket-level-2 = yellow,bold
bracket-level-3 = cyan,bold bracket-level-3 = cyan,bold
@ -58,12 +67,12 @@ history-expansion = blue,bold
[math] [math]
mathvar = blue,bold mathvar = blue,bold
mathnum = blue mathnum = magenta
matherr = red matherr = red
[for-loop] [for-loop]
forvar = none forvar = none
fornum = blue fornum = magenta
; operator ; operator
foroper = yellow foroper = yellow
; separator ; separator
@ -72,4 +81,4 @@ forsep = yellow,bold
[case] [case]
case-input = green case-input = green
case-parentheses = yellow case-parentheses = yellow
case-condition = bg:blue case-condition = black,bg:blue