-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.omp.yaml
More file actions
376 lines (376 loc) · 12.9 KB
/
config.omp.yaml
File metadata and controls
376 lines (376 loc) · 12.9 KB
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
palette:
black: '#262B44'
blue: '#4B95E9'
green: '#59C9A5'
orange: '#F07623'
red: '#D81E5B'
white: '#E0DEF4'
yellow: '#F3AE35'
secondary_prompt:
template: '<p:yellow,transparent></><,p:yellow> > </><p:yellow,transparent></> '
foreground: p:black
background: transparent
transient_prompt:
template: '<p:yellow,transparent></><,p:yellow> {{ .Folder }} </><p:yellow,transparent></> '
foreground: p:black
background: transparent
upgrade:
source: cdn
interval: 2h
auto: true
notice: true
console_title_template: '{{ .Shell }} in {{ .Folder }}'
streaming: 100
blocks:
- type: prompt
alignment: left
segments:
- options:
macos: mac
windows: "\U000F0570"
leading_diamond: ╭─
template: ' {{ if .WSL }}WSL at {{ end }}{{.Icon}} '
foreground: p:yellow
background: '#6E6E65'
type: os
style: diamond
- template: '{{ if eq .Type "wifi"}} {{ else if eq .Type "ethernet"}} {{ end }}'
foreground: '#f0f0f0'
powerline_symbol:
background: '#588858'
type: connection
style: powerline
max_width: 130
- template: '{{ if eq .Type "wifi"}} {{ .Name }} {{ else if eq .Type "ethernet"}} {{ end }}'
foreground: '#f0f0f0'
powerline_symbol:
background: '#588858'
type: connection
style: powerline
min_width: 131
- template: '{{ if .SSHSession }} {{ end }}{{ .HostName }}'
foreground: p:black
powerline_symbol:
background: p:green
type: session
style: powerline
max_width: 130
- template: '{{ if .SSHSession }} {{ end }}{{ .UserName }}@{{ .HostName }}'
foreground: p:black
powerline_symbol:
background: p:green
type: session
style: powerline
min_width: 131
- options:
folder_separator_icon: /
home_icon:
mapped_locations:
/mnt/c: C:/
/mnt/d: D:/
/mnt/e: E:/
C:/Users/smartin:
C:/cygwin64: "\0/"
max_width: 24
style: powerlevel
foreground: p:black
powerline_symbol:
background: p:orange
type: path
style: powerline
background_templates:
- '{{ if .Root }}red{{ end }}'
- '{{ if not .Writable }}white{{ end }}'
- options:
branch_icon: ' '
branch_max_length: 25
branch_template: '{{ trunc 25 .Branch }}'
fetch_stash_count: true
fetch_status: true
fetch_upstream_icon: true
fetch_worktree_count: true
template: ' {{ url .UpstreamIcon .UpstreamURL }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} '
foreground: '#011627'
powerline_symbol:
background: '#addb67'
type: git
style: powerline
background_templates:
- '{{ if or (.Working.Changed) (.Staging.Changed) }}#e4cf6a{{ end }}'
- '{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f78c6c{{ end }}'
- '{{ if gt .Ahead 0 }}#C792EA{{ end }}'
- '{{ if gt .Behind 0 }}#c792ea{{ end }}'
- options:
root_icon:
template: ' '
foreground: p:white
powerline_symbol:
background: p:red
type: root
style: powerline
- options:
style: roundrock
threshold: 0
trailing_diamond:
template: " \U000F051F{{ .FormattedMs }}⠀"
foreground: '#d6deeb'
background: '#575656'
type: executiontime
style: diamond
- type: prompt
alignment: right
overflow: break
segments:
- leading_diamond:
trailing_diamond: <transparent,#d6deeb></>
template: "\U000F1183 {{ .Name }} "
foreground: '#011627'
background: '#d6deeb'
type: shell
style: diamond
- options:
http_timeout: 1000
cache:
duration: 15m0s
strategy: folder
leading_diamond:
trailing_diamond: <transparent,#c386f1></>
template: '{{ .IP }}'
foreground: '#ffffff'
background: '#c386f1'
type: ipify
style: diamond
min_width: 145
- leading_diamond:
trailing_diamond: <transparent,#8f43f3></>
template: ' {{ round .PhysicalPercentUsed .Precision }}% '
foreground: '#ffffff'
background: '#8f43f3'
type: sysinfo
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ce092f'
background: '#ffffff'
type: angular
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#565656></>
template: ' {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} '
foreground: '#faa029'
background: '#565656'
type: aws
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#000000></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#000000'
background: '#ffffff'
type: crystal
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' cf {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#1d5185'
background: '#ffffff'
type: cf
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' {{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }} '
foreground: '#1d5185'
background: '#ffffff'
type: cftarget
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#d2d2d2></>
template: '<#2829b2></> <#be1818></> cmake {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#01a300'
background: '#d2d2d2'
type: cmake
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#e1e8e9></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#055b9c'
background: '#e1e8e9'
type: dart
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#0e0e0e></>
template: '{{ if .Unsupported }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#fefefe'
background: '#4e4e0e'
type: dotnet
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#06A4CE></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ffffff'
background: '#06A4CE'
type: flutter
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#06aad5'
background: '#ffffff'
type: go
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#100e23></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#906cff'
background: '#100e23'
type: haskell
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ec2729'
background: '#ffffff'
type: java
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#945bb3></>
template: '<#ca3c34></> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ffffff'
background: '#945bb3'
type: julia
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#906cff></>
template: 'K {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ffffff'
background: '#906cff'
type: kotlin
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#316ce4></>
template: "\U000F10FE {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} "
foreground: '#ffffff'
background: '#316ce4'
type: kubectl
style: diamond
- options:
fetch_package_manager: true
npm_icon: '<#cc3a3a></> '
yarn_icon: "<#348cba>\U000F011B</> "
leading_diamond:
trailing_diamond: <transparent,#303030></>
template: ' {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} '
foreground: '#3C873A'
background: '#303030'
type: node
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#6488c0></>
template: 'Nx {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#1e293b'
background: '#6488c0'
type: nx
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#41436d></>
template: "\U000F121A {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
foreground: '#ffffff'
background: '#41436d'
type: fortran
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#41436d></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ffffff'
background: '#41436d'
type: perl
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#787CB5></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#000000'
background: '#787CB5'
type: php
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#306998></>
template: {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}
foreground: '#FFE873'
background: '#306998'
type: python
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#b9bbbf></>
template: 'R {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#1c68bd'
background: '#b9bbbf'
type: r
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#9c1006'
background: '#ffffff'
type: ruby
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#ffffff></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#000000'
background: '#ffffff'
type: rust
style: diamond
- leading_diamond:
trailing_diamond: <transparent,#fe562e></>
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#ffffff'
background: '#fe562e'
type: swift
style: diamond
- options:
time_format: 15:04:05
leading_diamond:
trailing_diamond:
template: " \U000F0954 {{ .CurrentDate | date .Format }}"
foreground: '#d6deeb'
background: '#234d70'
type: time
style: diamond
- type: prompt
alignment: left
segments:
- template: ╰─
foreground: '#616161'
type: text
style: plain
- options:
cache_duration: 1h
foreground: '#111111'
background: '#ffd664'
type: upgrade
style: plain
- options:
always_enabled: true
status_separator: ' '
template: '{{ if gt .Code 0 }} {{ .Meaning }} ({{ .Code }}){{ else }}{{ end }}'
foreground: '#22da6e'
type: status
style: plain
foreground_templates:
- '{{ if gt .Code 0 }}#ef5350{{ end }}'
newline: true
tooltips:
- options:
display_default: true
leading_diamond:
trailing_diamond:
template: ' {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} '
foreground: p:white
background: p:orange
type: aws
style: diamond
tips:
- aws
version: 4
final_space: true