oh-my-posh/themes/sorin.omp.json
Jan De Dobbeleer e6d4413ae7 feat: adjust var names for consistency
BREAKING CHANGE: adjusts the way some segment work for templates.

Mapping the var names as following will resolve the issue.
- session/title/general purpose
    - .Host -> .HostName
    - .User -> .UserName
- az
    - .UserName -> .Name
- kubectl
    - .UserName -> .User
2022-01-17 16:29:39 +01:00

69 lines
1.6 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#CB4B16",
"properties": {
"template": "{{ .Text }}"
}
},
{
"type": "root",
"style": "plain",
"foreground": "#CECE04"
},
{
"type": "session",
"style": "plain",
"foreground": "#FFFFFF",
"properties": {
"prefix": "",
"template": "{{ .UserName }}@{{ .HostName }}"
}
},
{
"type": "path",
"style": "plain",
"foreground": "#0973C0",
"properties": {
"style": "full",
"prefix": ""
}
},
{
"type": "git",
"style": "plain",
"foreground": "#C1C106",
"properties": {
"prefix": "<#ffffff>git:</>",
"template": "{{ .HEAD }}"
}
},
{
"type": "python",
"style": "plain",
"foreground": "#100e23",
"properties": {
"prefix": " \uE235 "
}
},
{
"type": "text",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"text": "<#CB4B16>\u276F</><#CACA02>\u276F</><#4E9A06>\u276F</>"
}
}
]
}
]
}