mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#61AFEF",
|
|
"foreground": "#ffffff",
|
|
"leading_diamond": "\ue0b6",
|
|
"style": "diamond",
|
|
"template": " {{ .UserName }}@{{ .HostName }} ",
|
|
"trailing_diamond": "\ue0b0",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#C678DD",
|
|
"foreground": "#ffffff",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"style": "full"
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#95ffa4",
|
|
"foreground": "#193549",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " {{ .HEAD }} ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "#FF6471",
|
|
"foreground": "#ffffff",
|
|
"leading_diamond": "<transparent,background>\ue0b0</>",
|
|
"style": "diamond",
|
|
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
|
"trailing_diamond": "\ue0b4",
|
|
"type": "python"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 2
|
|
}
|