-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathohmyposh.json
68 lines (65 loc) · 1.87 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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"alignment": "left",
"type": "prompt",
"segments": [
{
"type": "path",
"background": "darkGray",
"foreground": "lightYellow",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue5ff {{ .Folder }}",
"trailing_diamond": "\ue0b4",
"properties": {
"style" : "full"
}
},
{
"type": "git",
"background": "darkGray",
"foreground": "blue",
"leading_diamond": " \ue0b6",
"properties": {
"branch_icon": ""
},
"style": "diamond",
"template": "{{ .HEAD }}",
"trailing_diamond": "\ue0b4"
},
{
"type": "python",
"background": "darkGray",
"foreground": "lightGreen",
"leading_diamond": " \ue0b6",
"style": "diamond",
"template": "{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4",
"properties": {
"fetch_version": false,
"fetch_virtual_env": true
}
},
{
"type": "kubectl",
"style": "diamond",
"leading_diamond": " \ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "cyan",
"background": "darkGray",
"template": " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
"properties": {
"context_aliases": {
"arn:aws:eks:eu-west-1:1234567890:cluster/posh": "posh"
}
}
}
]
}
]
}