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

52 lines
1.3 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "session",
"style": "diamond",
"foreground": "#ffffff",
"background": "#61AFEF",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0",
"properties": {
"template": "{{ .UserName }}@{{ .HostName }}"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#C678DD",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#193549",
"background": "#95ffa4",
"properties": {
"template": "{{ .HEAD }}"
}
},
{
"type": "python",
"style": "diamond",
"foreground": "#ffffff",
"background": "#FF6471",
"leading_diamond": "<transparent,background>\uE0B0</>",
"trailing_diamond": "\uE0B4"
}
]
}
],
"final_space": true
}