-
Notifications
You must be signed in to change notification settings - Fork 0
/
oh-my-posh.toml
86 lines (70 loc) · 1.61 KB
/
oh-my-posh.toml
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
version = 3
console_title_template = '{{ .Shell }} in {{ .Folder }}'
final_space = true
[palette]
grey = '#6c6c6c'
primary = '#8ea0d3'
[secondary_prompt]
foreground = 'p:primary'
background = 'transparent'
[transient_prompt]
template = '→ '
foreground = 'p:primary'
background = 'transparent'
[[blocks]]
type = 'prompt'
alignment = 'left'
[[blocks.segments]]
style = 'plain'
template = '{{ .Path }}'
foreground = 'p:primary'
background = 'transparent'
type = 'path'
[blocks.segments.properties]
style = 'folder'
[[blocks.segments]]
style = 'plain'
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed)}}*{{ end }}<cyan>{{ if gt .Behind 0 }}⇣{{ .Behind }}{{ end }}{{ if gt .Ahead 0 }}⇡{{ .Ahead }}{{ end }}</>'
foreground = 'green'
background = 'transparent'
type = 'git'
[blocks.segments.properties]
branch_icon = ''
commit_icon = '@'
fetch_status = true
[[blocks.segments]]
style = 'powerline'
template = ' (aws: {{.Profile}})'
foreground = '#ff9901'
background = 'transparent'
type = 'aws'
[[blocks.segments]]
style = 'plain'
template = '(kube: {{ .Context }})'
foreground = '#89b4fb'
background = 'transparent'
type = 'kubectl'
[blocks.segments.properties]
display_error = true
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
style = 'plain'
template = '→'
foreground = 'p:primary'
background = 'transparent'
type = 'text'
newline = true
[[blocks]]
type = 'rprompt'
overflow = 'hide'
[[blocks.segments]]
style = 'plain'
template = '{{ .FormattedMs }}'
foreground = 'yellow'
background = 'transparent'
type = 'executiontime'
[blocks.segments.properties]
threshold = 200