mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-25 19:14:50 -08:00
93 lines
2.4 KiB
JSON
93 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": true,
|
|
"osc99": false,
|
|
"console_title": true,
|
|
"console_title_style": "template",
|
|
"console_title_template": "{{if .Root}} ⚡ {{end}}{{.User}} ➔ 📁{{.Folder}}",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "powerline",
|
|
"foreground": "#100e23",
|
|
"background": "#cfcfc4",
|
|
"background_templates": [
|
|
"{{if .Root}}#ff3026{{else}}#cfcfc4{{end}}"
|
|
],
|
|
"properties": {
|
|
"prefix": "",
|
|
"postfix": "",
|
|
"display_host": false,
|
|
"template": "{{if .Root}} \uF0E7 {{.UserName}} {{else}} {{.UserName}} {{end}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#ec9706",
|
|
"properties": {
|
|
"home_icon": "\uF7DB",
|
|
"folder_icon": "\uF115",
|
|
"folder_separator_icon": " \uE0B1 \uE5FF ",
|
|
"style": "full",
|
|
"enable_hyperlink": true
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#193549",
|
|
"background": "#95ffa4",
|
|
"properties": {
|
|
"template": "{{ .HEAD }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#906cff",
|
|
"properties": {
|
|
"prefix": " \uE235 "
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "rprompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "exit",
|
|
"style": "diamond",
|
|
"leading_diamond": "\ue0c2",
|
|
"trailing_diamond": "\ue0c0",
|
|
"foreground": "#ffffff",
|
|
"background": "#ff4040",
|
|
"properties": {
|
|
"template": "\ue70f"
|
|
}
|
|
},
|
|
{
|
|
"type": "executiontime",
|
|
"style": "diamond",
|
|
"foreground": "#fafafa",
|
|
"background": "#2f2f2f",
|
|
"leading_diamond": "\ue0b2",
|
|
"properties": {
|
|
"style": "austin"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|