-
Notifications
You must be signed in to change notification settings - Fork 0
/
fishy.omp.json
52 lines (52 loc) · 1.76 KB
/
fishy.omp.json
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "time",
"style": "plain",
"foreground": "darkGray",
"properties": {
"time_format": "15:04"
},
"template": "[{{.CurrentDate | date .Format}}] "
},
{
"type": "session",
"style": "plain",
"foreground": "blue",
"template": "{{ .UserName }}"
},
{
"type": "path",
"properties": {
"style": "folder"
},
"foreground": "yellow",
"template": "{{ if ne .PWD \"~\" }}<darkGray>:</>{{ .Path }}{{ end }}"
},
{
"type": "git",
"style": "plain",
"foreground": "green",
"properties": {
"branch_icon": "",
"fetch_status": true
},
"template": " ({{ .HEAD }}{{ if gt (.Working.String | len) 0 }} {{ .Working }}{{ end }}{{ if gt (.Staging.String | len) 0}} {{ .Staging}}{{ end }})"
},
{
"type": "text",
"style": "plain",
"foreground": "red",
"template": " |"
}
]
}
]
}