oh-my-posh/themes/wopian.omp.json
2021-12-04 13:13:05 +01:00

114 lines
2.6 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "powerline",
"foreground": "cyan",
"properties": {
"prefix": "",
"postfix": "",
"wsl": "",
"wsl_separator": ""
}
},
{
"type": "path",
"style": "plain",
"foreground": "cyan",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "plain",
"foreground": "lightYellow",
"properties": {
"prefix": ":: <lightBlue>git(</>",
"postfix": "<lightBlue>)</>",
"template": "{{ .HEAD }}"
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "node",
"style": "plain",
"foreground": "#68a063",
"properties": {
"display_version": true,
"postfix": "",
"display_mode": "files",
"display_package_manager": true,
"yarn_icon": "/yarn",
"npm_icon": "/npm"
}
},
{
"type": "crystal",
"style": "plain",
"foreground": "#4063D8",
"properties": {
"display_version": true,
"display_mode": "files",
"postfix": ""
}
},
{
"type": "ruby",
"style": "plain",
"foreground": "#DE3F24",
"properties": {
"display_version": true,
"postfix": "",
"display_mode": "files"
}
},
{
"type": "python",
"style": "plain",
"foreground": "#FED142",
"properties": {
"fetch_virtual_env": false,
"postfix": "",
"display_mode": "context",
"template": "{{ .Full }}"
}
},
{
"type": "time",
"style": "plain",
"foreground": "lightGreen"
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "powerline",
"foreground": "lightGreen",
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
"properties": {
"always_enabled": true,
"template": "\u279c",
"prefix": ""
}
}
]
}
]
}