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

65 lines
1.5 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": "#ffffff",
"properties": {
"template": "{{ .Text }}",
"postfix": ""
}
},
{
"type": "root",
"style": "plain",
"foreground": "#100e23"
},
{
"type": "session",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"template": "{{ .UserName }}@{{ .HostName }}"
}
},
{
"type": "path",
"style": "plain",
"foreground": "#ffffff",
"background": "#007ACC",
"properties": {
"folder_icon": "\uF115",
"folder_separator_icon": " \uE0B1 ",
"style": "full",
"prefix": "<transparent>\uE0B0</> "
}
},
{
"type": "git",
"style": "plain",
"foreground": "#ffffff",
"background": "#007ACC",
"properties": {
"prefix": "<#ffffff>\uE0B1</> ",
"template": "{{ .HEAD }}"
}
},
{
"type": "text",
"style": "plain",
"foreground": "#007ACC",
"properties": {
"prefix": "",
"text": "\uE0B0"
}
}
]
}
]
}