-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathohmyposh.json
96 lines (96 loc) · 2.85 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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title_template": "{{if .Root}}(⚡Root) {{end}}{{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"style": "diamond",
"leading_diamond": " ",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"foreground": "#3A86FF",
"type": "os"
},
{
"properties": {
"folder_separator_icon": "/",
"style": "full"
},
"style": "plain",
"template": " {{ .Path }} ",
"foreground": "#33DD2D",
"type": "path"
},
{
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "plain",
"template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
"foreground": "#2bb5bf",
"type": "git"
},
{
"style": "plain",
"template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#0184bc",
"type": "dotnet"
},
{
"style": "plain",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "#6CA35E",
"type": "node"
},
{
"properties": {
"display_mode": "files"
},
"style": "plain",
"template": " \ue235 {{ .Full }} ",
"foreground": "#906cff",
"type": "python"
},
{
"style": "plain",
"template": " \ue791 {{ .Full }} ",
"foreground": "#ec7fc0",
"type": "ruby"
},
{
"properties": {
"display_id": true,
"display_name": true,
"info_separator": " @ ",
"prefix": " \ufd03 "
},
"style": "powerline",
"foreground": "#9ec3f0",
"type": "az"
},
{
"properties": {
"style": "austin",
"threshold": 10
},
"style": "plain",
"template": "\uf250 {{ .FormattedMs }} ",
"foreground": "#b55aee",
"type": "executiontime"
},
{
"style": "plain",
"template": "λ ",
"foreground": "#D75F00",
"type": "text"
}
]
}
],
"version": 3,
"final_space": true
}