oh-my-posh/themes/honukai.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

96 lines
2.1 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "session",
"style": "plain",
"foreground": "#FFFFFF",
"properties": {
"prefix": "<#0377C8># </>",
"template": "<#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</>"
}
},
{
"type": "path",
"style": "plain",
"foreground": "#0973C0",
"properties": {
"folder_icon": "\uF115",
"folder_separator_icon": " \uE0B1 ",
"style": "full"
}
},
{
"type": "git",
"style": "plain",
"foreground": "#B8B80A",
"properties": {
"prefix": "<#ffffff>on git:</>",
"template": "{{ .HEAD }}"
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "time",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "[",
"postfix": "]"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "#CECE04",
"properties": {
"prefix": ""
}
},
{
"type": "python",
"style": "plain",
"foreground": "#100e23",
"properties": {
"prefix": "\uE235 "
}
},
{
"type": "exit",
"style": "plain",
"foreground": "#CB4B16",
"properties": {
"template": "{{ .Text }}"
}
},
{
"type": "text",
"style": "plain",
"foreground": "#CC4B16",
"properties": {
"prefix": "",
"text": "\u279C"
}
}
]
}
],
"final_space": true
}