oh-my-posh/themes/star.omp.json
2022-02-03 10:44:18 +01:00

71 lines
1.8 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#E06C75",
"properties": {
"template": "root <#ffffff>in</> "
},
"style": "plain",
"type": "root"
},
{
"foreground": "#55B9C4",
"properties": {
"style": "folder",
"template": "{{ .Path }} "
},
"style": "plain",
"type": "path"
},
{
"foreground": "#C678DD",
"properties": {
"fetch_status": true,
"template": "<#ffffff>on</> {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} "
},
"style": "plain",
"type": "git"
},
{
"foreground": "#98C379",
"properties": {
"fetch_version": true,
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "plain",
"type": "node"
},
{
"foreground": "#C94A16",
"properties": {
"template": "x "
},
"style": "plain",
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#63F08C",
"properties": {
"template": "\u279c "
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 1
}