mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 11:34:04 -08:00
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#15C2CB",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "plain",
|
|
"template": "{{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"foreground": "#F141A8",
|
|
"properties": {
|
|
"branch_icon": "\ue0a0 "
|
|
},
|
|
"style": "plain",
|
|
"template": "<#F3EFF5>on</> {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"foreground": "#5EADF2",
|
|
"style": "plain",
|
|
"template": "{{if .Version}}<#F3EFF5>is</> \uf487 {{.Version}} {{end}}",
|
|
"type": "project"
|
|
},
|
|
{
|
|
"foreground": "#44FFD2",
|
|
"properties": {
|
|
"fetch_version": true
|
|
},
|
|
"style": "plain",
|
|
"template": "<#F3EFF5>via</> \ue718 {{ .Full }} ",
|
|
"type": "node"
|
|
},
|
|
{
|
|
"foreground": "#FE4A49",
|
|
"style": "plain",
|
|
"template": "<#F3EFF5>and</> \ue71e {{.Full}} ",
|
|
"type": "npm"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"foreground": "#FFE45E",
|
|
"style": "plain",
|
|
"template": "\u276f ",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 3
|
|
}
|