-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.go-my-posh.yaml
More file actions
54 lines (53 loc) · 1.68 KB
/
Copy path.go-my-posh.yaml
File metadata and controls
54 lines (53 loc) · 1.68 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
transient_prompt:
template: '{{if gt .Code 0}}<#FF0000>{{end}}$ '
blocks:
- type: prompt
alignment: left
segments:
- template: '{{.String}}'
foreground: '#FF0000'
type: status
style: plain
- template: '{{ readFile "/Users/walshca/.cache/strava-days.txt" }}'
foreground: '#FF6B6B'
type: text
style: plain
- template: ' 🐍'
foreground: '#80a0ff'
type: python
style: plain
options:
fetch_version: false
- template: ' {{.Path}}'
foreground: '#56B6C2'
type: path
style: plain
options:
style: full
mapped_locations:
"re:(/private/var/folders/\\w+/\\w+/T)/": "Temp:/"
- foreground: '#6871FF'
type: git
style: plain
templates:
- ' {{.HEAD}} '
- '{{if .BranchStatus}}{{.BranchStatus}}{{end}}'
- '{{if .Working.Changed}}<#FFFF00>{{end}}'
- '{{if .Staging.Changed}}<#ADFF2F>{{end}}'
options:
branch_icon: ""
fetch_status: true
ignore_submodules: { "*": "dirty" }
- template: ' '
foreground: '#ffff66'
type: root
style: plain
- template: '{{ .Env.YEST_STATUS | default "" }}'
type: text
style: plain
- template: '{{ readFile "/Users/walshca/.local/share/gh-pr-status/status.txt" }}'
type: text
style: plain
version: 4
final_space: true