-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathomp.json
123 lines (122 loc) · 3.57 KB
/
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#007ACC",
"foreground": "#222222",
"properties": {
"style": "austin",
"threshold": 321
},
"style": "plain",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "#880000",
"foreground": "#ff8888",
"style": "plain",
"template": "{{ if gt .Code 0 }} {{ .Code }} {{ end }}",
"type": "exit"
},
{
"background": "#ffcc88",
"foreground": "#222222",
"style": "plain",
"template": "\uf0e7",
"type": "root"
},
{
"background": "#111111",
"foreground": "#cccccc",
"style": "plain",
"template": " {{ if .WSL }}\uf68e {{ end }}{{.Icon}} ",
"type": "os"
},
{
"background": "#333333",
"foreground": "#cccccc",
"style": "plain",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}{{ if .SSHSession }}@{{ .HostName }}{{ end }} ",
"type": "session"
},
{
"background": "#444444",
"foreground": "#cccccc",
"properties": {
"folder_icon": "\u2026",
"style": "mixed"
},
"style": "plain",
"template": " {{ .Path }} ",
"type": "path"
},
{
"type": "git",
"style": "plain",
"foreground": "#193549",
"background": "#ffeb3b",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FB{{ end }}"
],
"template": " {{ .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 }} \uF692 {{ .StashCount }}{{ end }} ",
"properties": {
"fetch_status": true,
"fetch_stash_count": true,
"fetch_upstream_icon": true
}
},
{
"background": "#42A329",
"foreground": "#100e23",
"properties": {
"fetch_version": false
},
"style": "plain",
"template": " \ue235 ",
"type": "python"
},
{
"background": "#5BC041",
"foreground": "#ffffff",
"style": "plain",
"template": " \uE718 {{ .Full }} ",
"type": "node"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#007ACC",
"style": "plain",
"template": "{{ .Name }} ",
"type": "shell",
"properties": {
"mapped_shell_names": {
"pwsh": "\u276f",
"shell": "\u276f",
"cmd": ">",
"lua": ">",
"nu": ":)",
"fish": "~>",
"zsh": "%",
"bash": "$"
}
}
}
],
"type": "prompt"
}
],
"version": 2
}