2021-11-02 01:30:35 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#CECE04",
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "# ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "root"
|
2021-11-02 01:30:35 -07:00
|
|
|
},
|
|
|
|
{
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "{{ .UserName }}@{{ .HostName }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "session"
|
2021-11-02 01:30:35 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#7B68EE",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "agnoster_short"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "{{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "path"
|
2021-11-02 01:30:35 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#48D1CC",
|
|
|
|
"properties": {
|
|
|
|
"branch_icon": "",
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_upstream_icon": false
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "HEAD:{{ .UpstreamIcon }}{{ .HEAD }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
2021-11-02 01:30:35 -07:00
|
|
|
},
|
|
|
|
{
|
2021-11-14 04:39:00 -08:00
|
|
|
"foreground": "#7FFFD4",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#E84855{{ end }}"
|
|
|
|
],
|
2021-11-02 01:30:35 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "<#66CDAA>\u276f</><#76EEC6>\u276f</><foreground>\u276f</> ",
|
2023-07-23 00:29:54 -07:00
|
|
|
"type": "status"
|
2021-11-02 01:30:35 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-11-02 01:30:35 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
2024-10-28 05:59:40 -07:00
|
|
|
"version": 3
|
2021-11-02 01:30:35 -07:00
|
|
|
}
|