-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ohmyposh.json
269 lines (269 loc) · 9.05 KB
/
.ohmyposh.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
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#21c7a8",
"foreground": "#011627",
"leading_diamond": "\u256d\u2500\ue0b6",
"properties": {
"windows": "\ue62a"
},
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"trailing_diamond": "\ue0b0",
"type": "os"
},
{
"background": "#ef5350",
"foreground": "#ffeb95",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \uf292 ",
"type": "root"
},
{
"background": "#82AAFF",
"foreground": "#011627",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_icon": "\uf07c ",
"folder_separator_icon": "<#011627>\ue0b1</> ",
"home_icon": " \ueb06 ",
"style": "agnoster"
},
"style": "powerline",
"template": "{{ path .Path .Location }}",
"type": "path"
},
{
"background": "#addb67",
"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 }}"
],
"foreground": "#011627",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "powerline",
"template": " {{ url .UpstreamIcon .UpstreamURL }}{{ .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"
}
],
"type": "prompt"
},
{
"alignment": "right",
"overflow": "break",
"segments": [
{
"background": "#d6deeb",
"foreground": "#011627",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": " {{ .FormattedMs }} <#fefefe>",
"trailing_diamond": "<transparent,#d6deeb>\ue0b2</>",
"type": "executiontime",
"properties": {
"style": "roundrock",
"threshold": 0,
"always_enabled": true
}
},
{
"background": "#565656",
"foreground": "#faa029",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"trailing_diamond": "<transparent,#565656>\ue0b2</>",
"type": "aws"
},
{
"background": "#d2d2d2",
"foreground": "#01a300",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "<#2829b2>\ue61e</> <#be1818>\ue61d</> cmake {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#d2d2d2>\ue0b2</>",
"type": "cmake"
},
{
"background": "#1E0342",
"foreground": "#6FDCE3",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#1E0342>\ue0b2</>",
"type": "go"
},
{
"background": "#ffffff",
"foreground": "#ec2729",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "java"
},
{
"background": "#945bb3",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#945bb3>\ue0b2</>",
"type": "julia"
},
{
"background": "#316ce4",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} ",
"trailing_diamond": "<transparent,#316ce4>\ue0b2</>",
"type": "kubectl",
"properties": {
"always_enabled": false
}
},
{
"background": "#8839ef",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " {{ .WorkspaceName }}{{ if .Version }} {{ .Version }}{{ end }}",
"trailing_diamond": "<transparent,#8839ef>\ue0b2</>",
"type": "terraform",
"properties": {
"fetch_version": true
}
},
{
"background": "#1E0342",
"foreground": "#6FDCE3",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue620 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#1E0342>\ue0b2</>",
"type": "lua"
},
{
"background": "#303030",
"foreground": "#3C873A",
"leading_diamond": "\ue0b2",
"properties": {
"fetch_package_manager": true,
"npm_icon": "<#cc3a3a>\ue71e</> ",
"yarn_icon": "<#348cba>\ue6a7</> "
},
"style": "diamond",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"trailing_diamond": "<transparent,#303030>\ue0b2</>",
"type": "node"
},
{
"background": "#41436d",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue769 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#41436d>\ue0b2</>",
"type": "perl"
},
{
"background": "#306998",
"foreground": "#FFE873",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "<transparent,#306998>\ue0b2</>",
"type": "python"
},
{
"background": "#ffffff",
"foreground": "#9c1006",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "ruby"
},
{
"background": "#ffffff",
"foreground": "#000000",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "rust"
},
{
"background": "#fe562e",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue755 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#fe562e>\ue0b2</>",
"type": "swift"
},
{
"background": "#234d70",
"foreground": "#d6deeb",
"leading_diamond": "\ue0b2",
"properties": {
"time_format": "3:04 PM"
},
"style": "diamond",
"template": "\ue641 {{ .CurrentDate | date .Format }}",
"trailing_diamond": "\ue0b4",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#21c7a8",
"style": "plain",
"template": "\u2570\u2500",
"type": "text"
},
{
"foreground": "#22da6e",
"foreground_templates": [
"{{ if gt .Code 0 }}#ef5350{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\ue285\ue285",
"type": "status"
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Folder }}",
"final_space": true,
"transient_prompt": {
"background": "transparent",
"foreground": "#d6deeb",
"template": "\ue285 "
},
"version": 2
}