-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtlg_clean.omp.json
231 lines (231 loc) · 7.69 KB
/
tlg_clean.omp.json
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"foreground": "#FF0000",
"style": "diamond",
"template": " {{ if .SSHSession }}\ueba9 {{ end }}<#ff6400>\uf007</> {{ .UserName }} / <#ff6400>\uf108</> {{ .HostName }}",
"type": "session"
},
{
"foreground": "#ff6400",
"properties": {
"alpine": "\uf300",
"arch": "\uf303",
"centos": "\uf304",
"debian": "\uf306",
"elementary": "\uf309",
"fedora": "\uf30a",
"gentoo": "\uf30d",
"linux": "\ue712",
"macos": "\ue711",
"manjaro": "\uf312",
"mint": "\uf30f",
"opensuse": "\uf314",
"raspbian": "\uf315",
"ubuntu": "\uf31c",
"windows": "\ue62a",
"wsl": "\ue712"
},
"style": "plain",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#FFFFFF> | </>",
"type": "os"
},
{
"foreground": "#43CCEA",
"properties": {
"time_format": "Monday"
},
"style": "diamond",
"template": "{{ .CurrentDate | date .Format }} / ",
"type": "time"
},
{
"foreground": "#43CCEA",
"properties": {
"time_format": "02/01/2006"
},
"style": "diamond",
"template": "<#FFFFFF>\uf073 </>{{ .CurrentDate | date .Format }} / ",
"type": "time"
},
{
"foreground": "#43CCEA",
"properties": {
"time_format": "15:04:05"
},
"style": "diamond",
"template": "<#FFFFFF>\uf017 </>{{ .CurrentDate | date .Format }}<#FFFFFF> | </>",
"type": "time"
},
{
"foreground": "#ffffff",
"foreground_templates": [
"{{if eq \"Charging\" .State.String}}#FCFF8F{{end}}",
"{{if eq \"Discharging\" .State.String}}#FF8F8F{{end}}",
"{{if eq \"Full\" .State.String}}#33DD2D{{end}}"
],
"properties": {
"charged_icon": "\uf240 ",
"charging_icon": "🔌",
"discharging_icon": "🗲 "
},
"style": "plain",
"template": "{{ if not .Error }}{{ .Icon }} {{ .Percentage }}{{ end }}{{ .Error }}% ",
"type": "battery"
}
]
},
{
"alignment": "left",
"newline": true,
"type": "prompt",
"segments": [
{
"foreground": "#F1FA8C",
"properties": {
"style": "folder"
},
"style": "diamond",
"template": "<#42E66C>\ueaf7 </><b>{{ .Path }}</b>",
"type": "path"
},
{
"foreground": "#ee79d1",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "diamond",
"template": " <#ffffff>|</> {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}",
"type": "git"
},
{
"foreground": "#3C873A",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ",
"yarn_icon": " <#348cba>\ue6a7</>"
},
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)</>",
"type": "node"
},
{
"foreground": "#FFE873",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "python"
},
{
"foreground": "#ec2729",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "java"
},
{
"foreground": "#0d6da8",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "dotnet"
},
{
"foreground": "#06aad5",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "go"
},
{
"foreground": "#925837",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "rust"
},
{
"foreground": "#055b9c",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "dart"
},
{
"foreground": "#ce092f",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "angular"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": " <#FFFFFF>|</><#1e293b> (</>{{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }}<#1e293b>)</>",
"type": "nx"
},
{
"foreground": "#359a25",
"style": "plain",
"template": " <#FFFFFF>|</><#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "julia"
},
{
"foreground": "#9c1006",
"style": "plain",
"template": " <#FFFFFF>|</> <#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "ruby"
},
{
"foreground": "#5398c2",
"style": "plain",
"template": " <#FFFFFF>|</> <#ffffff> (</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "azfunc"
},
{
"foreground": "#faa029",
"style": "plain",
"template": " <#FFFFFF>|</> <#ffffff> (</>{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)</>",
"type": "aws"
},
{
"foreground": "#316ce4",
"style": "plain",
"template": " <#FFFFFF>|</> <#ffffff> (</>{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)</>",
"type": "kubectl"
},
{
"type": "docker",
"style": "plain",
"foreground": "#1D63ED",
"template": " {{ .Context }} "
}
]
},
{
"alignment": "left",
"newline": true,
"type": "prompt",
"segments": [
{
"foreground": "#FFFFFF",
"style": "plain",
"template": "{{ if gt .Code 0 }}<#ef5350>Error</>{{ else }}<#43CCEA>Done</>{{ end }}",
"type": "status",
"properties": {
"always_enabled": true
}
},
{
"foreground": "#FFFFFF",
"style": "plain",
"template": " > ",
"type": "text"
}
]
}
]
}