-
Notifications
You must be signed in to change notification settings - Fork 0
/
spaceduck_zsh_syntax_highlighting.bash
84 lines (81 loc) · 3.55 KB
/
spaceduck_zsh_syntax_highlighting.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# SpaceDuck Theme (for zsh-syntax-highlighting)
#
# Code licensed under the MIT license
#
# @author George Pickering <@bigpick>
# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor)
typeset -gA ZSH_HIGHLIGHT_STYLES
# Italics not yet supported by zsh; potentially soon:
# https://github.com/zsh-users/zsh-syntax-highlighting/issues/432
# https://www.zsh.org/mla/workers/2021/msg00678.html
# ... in hopes that they will, labelling accordingly with ,italic where appropriate
#
# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md
### General
#### Diffs
#### Markup
### Classes
### Comments
ZSH_HIGHLIGHT_STYLES[comment]='fg=#30365F'
### Constants
### Entitites
### Functions/methods
ZSH_HIGHLIGHT_STYLES[alias]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[function]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[command]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[precommand]='fg=#5ccc96,italic'
ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#e39400,italic'
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#b3a1e6'
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#b3a1e6'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#b3a1e6'
### Keywords
### Built ins
ZSH_HIGHLIGHT_STYLES[builtin]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#5ccc96'
ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#5ccc96'
### Punctuation
ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#ce6f8f'
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#ce6f8f'
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#ce6f8f'
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#ce6f8f'
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#ce6f8f'
### Serializable / Configuration Languages
### Storage
### Strings
ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#00a3cc'
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#00a3cc'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#00a3cc'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#e33400'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#00a3cc'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#e33400'
ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#00a3cc'
### Variables
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#e33400'
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[assign]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#ecf0c1'
### No category relevant in spec
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e33400'
ZSH_HIGHLIGHT_STYLES[path]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#ce6f8f'
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#ce6f8f'
ZSH_HIGHLIGHT_STYLES[globbing]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#b3a1e6'
#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?'
#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?'
#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?'
#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#e33400'
ZSH_HIGHLIGHT_STYLES[redirection]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[arg0]='fg=#ecf0c1'
ZSH_HIGHLIGHT_STYLES[default]='fg=#ecf0c1'
#
ZSH_HIGHLIGHT_STYLES[cursor]='standout'