mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
79 lines
2.1 KiB
JSON
79 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#ffe9aa",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \uf0e7 ",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"background": "#ffffff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " {{ .UserName }}@{{ .HostName }} ",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#91ddff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"folder_icon": "\uf115",
|
|
"folder_separator_icon": " \ue0b1 ",
|
|
"style": "full"
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#95ffa4",
|
|
"foreground": "#193549",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " {{ .HEAD }} ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "#906cff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
|
"type": "python"
|
|
},
|
|
{
|
|
"background": "#ff8080",
|
|
"foreground": "#ffffff",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \ue20f ",
|
|
"type": "exit"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#007ACC",
|
|
"style": "plain",
|
|
"template": "\u276f ",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 2
|
|
}
|