-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrezapace.theme.omp.json
102 lines (102 loc) · 3.35 KB
/
rezapace.theme.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title_template": "{{if .Segments.Git.RepoName}} {{.Segments.Git.RepoName}} {{else}} {{.Folder}} {{end}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "path",
"background": "#78b8a6",
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "agnoster_full"
},
"style": "powerline",
"template": " {{ .Path }} "
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#100e23",
"background": "#95ffa4",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#c5b6ad{{ end }}"
],
"template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} \u2502{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} ",
"properties": {
"branch_ahead_icon": "\u2191",
"branch_behind_icon": "\u2193",
"branch_gone": "\u2262",
"branch_icon": "\ue0a0 ",
"branch_identical_icon": "\u2261",
"cherry_pick_icon": "\u2713 ",
"commit_icon": "\u25b7 ",
"fetch_stash_count": true,
"fetch_status": true,
"merge_icon": "\u25f4 ",
"no_commits_icon": "[no commits]",
"rebase_icon": "\u2c62 ",
"tag_icon": "\u25b6 ",
"untracked_modes": {
"/Users/user/Projects/oh-my-posh/": "no"
}
}
},
{
"type": "terraform",
"background": "#ffee58",
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ .WorkspaceName }}{{ if .Version }} {{ .Version }}{{ end }} "
},
{
"type": "exit",
"background": "#ff8080",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ if gt .Code 0 }}error{{ else }}\uf42e{{ end }} "
},
{
"type": "time",
"foreground": "#37b4fd",
"properties": {
"time_format": "15:04:05"
},
"style": "plain",
"template": " <#757575,>|</> {{ .CurrentDate | date .Format }}"
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"foreground": "#757575",
"style": "plain",
"template": "\u2514"
},
{
"type": "text",
"foreground": "#8c52ff",
"style": "plain",
"template": "<#b1946c><b>\u26a1</b></><b>{{ .UserName }}</b> <#D6E4E5>\u276f</>"
}
]
}
],
"final_space": true,
"version": 2
}