mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
06291e168b
resolves #1697
94 lines
2.2 KiB
JSON
94 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#FFFFFF",
|
|
"properties": {
|
|
"template": "<#0377C8># </><#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</> "
|
|
},
|
|
"style": "plain",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "#0973C0",
|
|
"properties": {
|
|
"folder_icon": "\uf115",
|
|
"folder_separator_icon": " \ue0b1 ",
|
|
"style": "full",
|
|
"template": " {{ .Path }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"foreground": "#B8B80A",
|
|
"properties": {
|
|
"template": "<#ffffff>on git:</>{{ .HEAD }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "git"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": "[{{ .CurrentDate | date .Format }}]"
|
|
},
|
|
"style": "plain",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#CECE04",
|
|
"properties": {
|
|
"template": "\uf0e7 "
|
|
},
|
|
"style": "plain",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"foreground": "#100e23",
|
|
"properties": {
|
|
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "python"
|
|
},
|
|
{
|
|
"foreground": "#CB4B16",
|
|
"properties": {
|
|
"template": " {{ .Meaning }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "exit"
|
|
},
|
|
{
|
|
"foreground": "#CC4B16",
|
|
"properties": {
|
|
"template": "\u279c "
|
|
},
|
|
"style": "plain",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 1
|
|
}
|