-
Notifications
You must be signed in to change notification settings - Fork 0
/
.go-my-posh.yaml
41 lines (40 loc) · 995 Bytes
/
.go-my-posh.yaml
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
final_space: true
version: 2.0
blocks:
- type: prompt
alignment: left
segments:
- type: status
style: plain
foreground: "#FF0000"
template: "{{.String}}"
- type: python
style: plain
foreground: "#80a0ff"
properties:
fetch_version: false
template: " {{.Venv}}"
- type: path
style: plain
foreground: "#56B6C2"
properties:
style: full
template: " {{.Path}}"
- type: git
style: plain
foreground: "#6871FF"
properties:
branch_icon: ""
fetch_status: true
templates:
- " {{.HEAD}} "
- "{{if .BranchStatus}}{{.BranchStatus}}{{end}}"
- "{{if .Working.Changed}}<#FFFF00>{{end}}"
- "{{if .Staging.Changed}}<#ADFF2F>{{end}}"
- type: root
style: plain
foreground: "#ffff66"
template: " "
transient_prompt:
template: "{{if gt .Code 0}}<#FF0000>{{end}}$ "