-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoh-my-posh.json
More file actions
111 lines (111 loc) · 3.76 KB
/
oh-my-posh.json
File metadata and controls
111 lines (111 loc) · 3.76 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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"background-dotnet": "#00fbac",
"background-exit-fail": "#ff7092",
"background-exit-success": "#00fbac",
"background-git": "#fffa6a",
"background-path": "#ce5efe",
"background-root": "#ffb56a",
"background-time": "#00bfff",
"foreground-dark": "#082336",
"foreground-light": "#e0e0e0"
},
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none",
"style": "full"
},
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b4",
"template": "📁 {{ path .Path .Location }} ",
"foreground": "p:foreground-light",
"background": "p:background-path",
"type": "path",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"ignore_status": [
"C:/s/0/src",
"C:/s/1/src",
"C:/s/2/src",
"Q:/cr/src"
],
"upstream_icons": {
"Edge": "\uf282",
"chromium.googlesource.com": "\udb80\udeaf"
}
},
"trailing_diamond": "\ue0b4",
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }}{{ else }}{{ .UpstreamIcon }}{{ end }}{{ if and .Env.OhMyPoshCustomBranchUri (contains .Env.OhMyPoshCustomBranchUri \"://\") }}{{ url .HEAD .Env.OhMyPoshCustomBranchUri }}{{ else }}{{ .HEAD }}{{ end }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
"foreground": "p:foreground-dark",
"background": "p:background-git",
"type": "git",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"fetch_version": true
},
"trailing_diamond": "\ue0b4",
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"foreground": "p:foreground-dark",
"background": "p:background-dotnet",
"type": "dotnet",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"style": "austin",
"threshold": 1000
},
"trailing_diamond": "\ue0b4",
"template": " \u23f1\ufe0f {{ .FormattedMs }} ",
"foreground": "p:foreground-dark",
"background": "p:background-time",
"type": "executiontime",
"style": "diamond"
},
{
"properties": {
"always_enabled": false,
"cache_duration": "none"
},
"trailing_diamond": "\ue0b4",
"template": " {{.Meaning}} {{ if ne .Code 0 }}👎{{ else }}👍{{ end }} ",
"foreground": "p:foreground-light",
"background": "p:background-exit-success",
"type": "exit",
"style": "diamond",
"background_templates": [
"{{ if ne .Code 0 }}p:background-exit-fail{{ end }}"
]
},
{
"properties": {
"cache_duration": "none"
},
"trailing_diamond": "\ue0b4",
"foreground": "p:foreground-dark",
"background": "p:background-root",
"type": "root",
"style": "diamond"
}
]
}
],
"version": 3,
"final_space": true
}