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": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#FFFFFF",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "<#0377C8># </><#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</> "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "session"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#0973C0",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"folder_icon": "\uf115",
|
|
|
|
"folder_separator_icon": " \ue0b1 ",
|
|
|
|
"style": "full",
|
|
|
|
"template": " {{ .Path }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "path"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#B8B80A",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "<#ffffff>on git:</>{{ .HEAD }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "git"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "[{{ .CurrentDate | date .Format }}]"
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "time"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
2021-04-18 10:16:06 -07:00
|
|
|
"newline": true,
|
2019-03-13 04:14:30 -07:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#CECE04",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "\uf0e7 "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "root"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#100e23",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "python"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
2021-11-14 04:39:00 -08:00
|
|
|
"foreground": "#CB4B16",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ .Text }} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "exit"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#CC4B16",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "\u279c "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "text"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
|
|
|
],
|
2022-02-03 01:22:57 -08:00
|
|
|
"final_space": true,
|
|
|
|
"version": 1
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|