blob: 2caef42d09a5f120446cf1e8591be4e8f6a357de (
plain)
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
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
_anchors:
- <r
- &rtl
final_space: true
shell_integration: true
version: 2
blocks:
- type: prompt
alignment: left
newline: true
segments:
- type: os
style: diamond
background: white
foreground: black
- type: root
style: powerline
powerline_symbol: *ltr
background: red
foreground: yellow
- type: path
style: powerline
powerline_symbol: *ltr
background: blue
foreground: white
- type: git
style: powerline
powerline_symbol: *ltr
background: green
foreground: black
- type: text
style: powerline
powerline_symbol: *ltr
- type: prompt
alignment: right
segments:
- type: executiontime
style: powerline
powerline_symbol: *rtl
invert_powerline: true
background: red
foreground: white
- type: python
style: powerline
powerline_symbol: *rtl
invert_powerline: true
background: blue
foreground: black
- type: session
style: powerline
powerline_symbol: *rtl
invert_powerline: true
background: black
foreground: yellow
- type: time
style: diamond
invert_powerline: true
background: white
foreground: black
- type: prompt
alignment: left
newline: true
segments:
- type: status
style: diamond
trailing_diamond: *ltr
background: green
background_templates:
- "{{ if .Error }}red{{ end }}"
foreground: black
foreground_templates:
- "{{ if .Error }}white{{ end }}"
properties:
always_enabled: true
|