2021-06-21 09:43:27 -07:00
|
|
|
{
|
2021-11-07 08:42:56 -08:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
2021-06-21 09:43:27 -07:00
|
|
|
{
|
2021-11-07 08:42:56 -08:00
|
|
|
"type": "os",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "cyan",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "",
|
|
|
|
"postfix": "",
|
|
|
|
"wsl": "",
|
|
|
|
"wsl_separator": ""
|
|
|
|
}
|
2021-06-21 09:43:27 -07:00
|
|
|
},
|
|
|
|
{
|
2021-11-07 08:42:56 -08:00
|
|
|
"type": "path",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "cyan",
|
|
|
|
"properties": {
|
|
|
|
"style": "full"
|
|
|
|
}
|
2021-06-21 09:43:27 -07:00
|
|
|
},
|
|
|
|
{
|
2021-11-07 08:42:56 -08:00
|
|
|
"type": "git",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "lightYellow",
|
|
|
|
"properties": {
|
|
|
|
"prefix": ":: <lightBlue>git(</>",
|
|
|
|
"postfix": "<lightBlue>)</>",
|
2021-11-09 08:13:47 -08:00
|
|
|
"template": "{{ .HEAD }}"
|
2021-11-07 08:42:56 -08:00
|
|
|
}
|
2021-06-21 09:43:27 -07:00
|
|
|
}
|
2021-11-07 08:42:56 -08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": {
|
2021-12-04 02:56:55 -08:00
|
|
|
"fetch_virtual_env": false,
|
2021-11-07 08:42:56 -08:00
|
|
|
"postfix": "",
|
2021-12-04 02:56:55 -08:00
|
|
|
"display_mode": "context",
|
|
|
|
"template": "{{ .Full }}"
|
2021-11-07 08:42:56 -08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "time",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "lightGreen"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "exit",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "lightGreen",
|
2021-11-14 04:39:00 -08:00
|
|
|
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
2021-11-07 08:42:56 -08:00
|
|
|
"properties": {
|
|
|
|
"always_enabled": true,
|
2021-11-14 04:39:00 -08:00
|
|
|
"template": "\u279c",
|
|
|
|
"prefix": ""
|
2021-11-07 08:42:56 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-06-21 09:43:27 -07:00
|
|
|
}
|