-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoh_my_posh_the_unnamed_theme_adjusted.json
83 lines (83 loc) · 2.4 KB
/
oh_my_posh_the_unnamed_theme_adjusted.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#15C2CB",
"properties": {
"style": "folder"
},
"style": "plain",
"template": "{{ .Path }} ",
"type": "path"
},
{
"foreground": "#F141A8",
"properties": {
"branch_icon": " "
},
"style": "plain",
"template": "<#EBEEEF>on</> {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }} ",
"type": "git"
},
{
"foreground": "#417E38",
"properties": {
"fetch_version": true,
"fetch_package_manager": true,
"npm_icon": ""
},
"style": "plain",
"template": "<#EBEEEF>via</> {{ .Full }} <#EBEEEF>and</> {{ if .PackageManagerIcon }}{{ if .Segments.Contains \"Npm\" }}<#FE4A49>{{ end }}{{ if .Segments.Contains \"Yarn\" }}<#6a64dd>{{ end }}{{ .PackageManagerIcon }}</> {{ end }}",
"type": "node"
},
{
"type": "npm",
"style": "plain",
"foreground": "#FE4A49",
"properties": {
"display_mode": "files",
"extensions": ["package-lock.json"]
},
"template": "{{ .Full }} "
},
{
"type": "yarn",
"style": "plain",
"foreground": "#6a64dd",
"properties": {
"display_mode": "files",
"extensions": ["yarn.lock"]
},
"template": "{{ .Full }} "
},
{
"type": "time",
"style": "plain",
"foreground": "#9a9b9b",
"template": "{{ .CurrentDate | date .Format }} ",
"properties": {
"time_format": "<#EBEEEF>|</> Mon 3:04 PM"
}
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#FFE45E",
"style": "plain",
"template": "❯ ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 3
}