-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdot_dotfiles-prompt.omp.json
124 lines (124 loc) · 3.6 KB
/
dot_dotfiles-prompt.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
123
124
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#4F90DB",
"foreground": "#FAFAFA",
"style": "powerline",
"template": " {{ .Icon }} ",
"type": "os"
},
{
"background": "#DB9165",
"foreground": "#060606",
"powerline_symbol": "\ue0b0",
"properties": {
"enabled": "true"
},
"style": "powerline",
"template": " \uf0e7 ",
"type": "root"
},
{
"background": "#213C5C",
"foreground": "#FAFAFA",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "text"
},
{
"background": "#4F90DB",
"foreground": "#FAFAFA",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder"
},
"style": "powerline",
"template": " \ue5ff {{ .Path }} ",
"type": "path"
},
{
"background": "#596675",
"foreground": "#FAFAFA",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} ",
"type": "git"
},
{
"background": "#232F38",
"foreground": "#FFA400",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}",
"type": "aws"
},
{
"background": "#0078D4",
"foreground": "#FFFFFF",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "\ufd03 {{ .EnvironmentName }}",
"type": "az"
},
{
"background": "#DBC239",
"foreground": "#060606",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ufbab{{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "#DB65BA",
"foreground": "#060606",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ue23a {{ .Code }} ",
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#000",
"foreground": "#FAFAFA",
"properties": {
"time_format": "15:04:05"
},
"style": "powerline",
"template": "[{{ .CurrentDate | date .Format }}] ",
"type": "time"
},
{
"foreground": "#FAFAFA",
"properties": {
"mapped_shell_names": {
"pwsh": "ps"
}
},
"style": "powerline",
"template": "{{ .Name }}\u276f",
"type": "shell"
}
],
"type": "prompt"
}
],
"console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}",
"final_space": true,
"version": 2
}