-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathys.omp.json
More file actions
88 lines (88 loc) · 2.15 KB
/
ys.omp.json
File metadata and controls
88 lines (88 loc) · 2.15 KB
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "white",
"options": {
"fetch_version": false
},
"style": "plain",
"template": "({{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }})",
"type": "python"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightBlue",
"style": "plain",
"template": "# ",
"type": "text"
},
{
"foreground": "red",
"style": "plain",
"template": " % ",
"type": "root"
},
{
"style": "plain",
"template": "<cyan>{{ .UserName }}</> <darkGray>@</> <green>{{ .HostName }}</> ",
"type": "session"
},
{
"foreground": "lightYellow",
"options": {
"style": "full"
},
"style": "plain",
"template": "<darkGray>in </>{{ .Path }} ",
"type": "path"
},
{
"style": "plain",
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</>{{ if .Working.Changed }}<red> x</>{{ end }} ",
"type": "git",
"options": {
"fetch_status": true
}
},
{
"foreground": "darkGray",
"style": "plain",
"template": "[{{ .CurrentDate | date .Format }}]",
"type": "time"
},
{
"foreground": "red",
"style": "plain",
"template": " C:{{ if gt .Code 0 }}{{ .Code }}{{ end }} ",
"type": "status"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightRed",
"style": "plain",
"template": "$",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 4
}