forked from ChrisTitusTech/powershell-profile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparrot.omp.json
91 lines (91 loc) · 2.85 KB
/
parrot.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh—my—posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "white",
"foreground_templates": [
"{{ if .Root }}lightRed{{ end }}"
],
"properties": {
"display_host": true
},
"style": "plain",
"template": "<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>\u250c\u2500\u2500[</><#ebebeb>{{ .UserName }}{{ if .Root }}@{{ else }}</><#f6bb34>@{{ end }}<#2deafe>{{ .HostName }}<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>]</>",
"type": "session"
},
{
"foreground": "white",
"properties": {
"fetch_version": false,
"fetch_virtual_env": true
},
"style": "plain",
"template": "<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>—[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>]</>",
"type": "python"
},
{
"foreground": "lightWhite",
"properties": {
"folder_separator_icon": "<#c0c0c0>/</>",
"style": "full"
},
"style": "plain",
"template": "<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>—[</>{{ .Path }}<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>]</>",
"type": "path"
},
{
"foreground": "white",
"style": "plain",
"template": "<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>—[</>{{ .HEAD }}<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>]</>",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#ffffff",
"properties": {
"always_enabled": true,
"style": "round"
},
"style": "plain",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"foreground": "#ebebeb",
"foreground_templates": [
"{{ if gt .Code 0 }}#ff6c65{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} ",
"type": "status"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#f6bb34",
"style": "plain",
"template": "<{{ if .Root }}#2deafe{{ else }}#ff6c65{{ end }}>\u2514\u2500</>{{ if .Root }}<lightRed>#</>{{ else }}${{ end }} ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 2
}