2019-03-13 04:14:30 -07:00
|
|
|
{
|
2021-02-15 23:36:37 -08:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
2019-03-13 04:14:30 -07:00
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
2020-10-08 11:35:10 -07:00
|
|
|
"type": "os",
|
2019-03-13 04:14:30 -07:00
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#26C6DA",
|
|
|
|
"background": "#546E7A",
|
|
|
|
"properties": {
|
2020-10-16 08:12:34 -07:00
|
|
|
"postfix": " \uE0B1"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "root",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#26C6DA",
|
2020-10-15 23:37:43 -07:00
|
|
|
"background": "#546E7A"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#26C6DA",
|
|
|
|
"background": "#546E7A",
|
|
|
|
"properties": {
|
2021-12-04 02:56:55 -08:00
|
|
|
"style": "full"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "git",
|
2020-10-02 12:58:49 -07:00
|
|
|
"style": "plain",
|
2019-03-13 04:14:30 -07:00
|
|
|
"foreground": "#D4E157",
|
|
|
|
"background": "#546E7A",
|
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"prefix": "<#26C6DA>\uE0B1 </>",
|
2021-11-09 08:13:47 -08:00
|
|
|
"template": "{{ .HEAD }}"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2020-10-02 12:58:49 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"style": "plain",
|
2020-10-05 11:43:08 -07:00
|
|
|
"foreground": "#546E7A",
|
|
|
|
"background": "transparent",
|
2020-10-02 12:58:49 -07:00
|
|
|
"properties": {
|
2020-10-15 23:37:43 -07:00
|
|
|
"text": "\uE0B0",
|
2020-10-02 12:58:49 -07:00
|
|
|
"prefix": "",
|
|
|
|
"postfix": ""
|
|
|
|
}
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "session",
|
|
|
|
"style": "diamond",
|
|
|
|
"foreground": "#D4E157",
|
|
|
|
"background": "#546E7A",
|
2020-10-16 08:12:34 -07:00
|
|
|
"leading_diamond": "\uE0B2",
|
2019-03-13 04:14:30 -07:00
|
|
|
"properties": {
|
2021-12-03 14:44:58 -08:00
|
|
|
"postfix": " <#26C6DA>\uE0B3</> ",
|
2022-01-17 04:16:04 -08:00
|
|
|
"template": "{{ .UserName }}@{{ .HostName }}"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "time",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#D4E157",
|
|
|
|
"background": "#546E7A",
|
|
|
|
"properties": {
|
|
|
|
"time_format": "15:04:05",
|
2020-10-16 08:12:34 -07:00
|
|
|
"postfix": " \uF017 "
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
2021-04-18 10:16:06 -07:00
|
|
|
"newline": true,
|
2019-03-13 04:14:30 -07:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "exit",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#D4E157",
|
2021-11-14 04:39:00 -08:00
|
|
|
"foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"],
|
2019-03-13 04:14:30 -07:00
|
|
|
"properties": {
|
2021-11-14 04:39:00 -08:00
|
|
|
"template": "\u276F",
|
|
|
|
"prefix": "",
|
|
|
|
"always_enabled": true
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2020-09-21 01:20:18 -07:00
|
|
|
]
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|