-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathos-dir-git.omp.json
128 lines (128 loc) · 3.75 KB
/
os-dir-git.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
125
126
127
128
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": false,
"osc99": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.Host}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "plain",
"foreground": "#ffffff",
"background": "transparent",
"properties": {
"prefix": ""
}
},
{
"type": "path",
"style": "diamond",
"leading_diamond": "<transparent,#01579B>\uE0B0</>",
"trailing_diamond": "\uE0B0",
"foreground": "#ffffff",
"background": "#01579B",
"properties": {
"prefix": " ",
"home_icon": "\uF7DB",
"folder_icon": "\uF6D7",
"folder_separator_icon": "<transparent> \uE0BD </>",
"style": "agnoster_short"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#00C853",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"template": "{{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uF046 {{ .Staging.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
}
},
{
"type": "executiontime",
"style": "diamond",
"leading_diamond": "<transparent,#49404f>\uE0B0</>",
"trailing_diamond": "\uE0B0",
"foreground": "#ffffff",
"background": "#49404f",
"properties": {
"threshold": 0,
"style": "dallas",
"postfix": "s "
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#910000",
"properties": {
"prefix": "<transparent> \uF12A</> "
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "session",
"style": "diamond",
"trailing_diamond": "",
"leading_diamond": "\uE0C5",
"foreground": "#43CCEA",
"background": "#29315A",
"properties": {
"postfix": "",
"prefix": " ",
"user_info_separator": "<transparent> / </>"
}
},
{
"type": "time",
"style": "plain",
"foreground": "#3EC669",
"background": "#29315A",
"properties": {
"time_format": "15:04:05",
"prefix": "<transparent> \uE0BA\uE0BC </>"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "\u276F",
"always_enabled": true,
"error_color": "#ff0000",
"display_exit_code": false
}
}
]
}
]
}