mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#FFEE58",
|
|
"properties": {
|
|
"template": " \uf0e7 "
|
|
},
|
|
"style": "plain",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"template": " {{ .UserName }}@{{ .HostName }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#91ddff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"style": "full",
|
|
"template": " {{ .Path }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#95ffa4",
|
|
"foreground": "#193549",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"template": " {{ .HEAD }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "#906cff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "python"
|
|
},
|
|
{
|
|
"background": "#ff8080",
|
|
"foreground": "#ffffff",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"template": " \ue20f "
|
|
},
|
|
"style": "powerline",
|
|
"type": "exit"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 1
|
|
}
|