mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-13 14:34:06 -08:00
c57975985f
resolves #3818
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"background": "#003543",
|
|
"foreground": "#ffffff",
|
|
"style": "plain",
|
|
"template": " \ue641 {{ .CurrentDate | date .Format }} ",
|
|
"type": "time"
|
|
},
|
|
{
|
|
"background": "#83769c",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"always_enabled": true
|
|
},
|
|
"style": "plain",
|
|
"template": " \ueba2{{ .FormattedMs }} ",
|
|
"type": "executiontime"
|
|
}
|
|
],
|
|
"type": "rprompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#61AFEF",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"display_host": false
|
|
},
|
|
"style": "diamond",
|
|
"template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}",
|
|
"trailing_diamond": "\ue0b0",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#C678DD",
|
|
"foreground": "#ffffff",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"folder_icon": "\uf115",
|
|
"folder_separator_icon": " \ue0b1 ",
|
|
"max_depth": 2,
|
|
"style": "agnoster_short"
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#95ffa4",
|
|
"foreground": "#193549",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " {{ .HEAD }} ",
|
|
"type": "git"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}",
|
|
"final_space": true,
|
|
"version": 2
|
|
}
|