oh-my-posh/themes/pure.omp.json

88 lines
2.3 KiB
JSON
Raw Normal View History

2021-01-23 06:19:46 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
2021-01-23 06:19:46 -08:00
{
"foreground": "#BF616A",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "{{ .UserName }} "
},
"style": "plain",
"type": "session"
2021-01-23 06:19:46 -08:00
},
{
"foreground": "#81A1C1",
"properties": {
2022-02-03 01:22:57 -08:00
"style": "full",
"template": "{{ .Path }} "
},
"style": "plain",
"type": "path"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"segments": [
2021-01-23 06:19:46 -08:00
{
"foreground": "#6C6C6C",
"properties": {
2022-02-03 01:22:57 -08:00
"branch_ahead_icon": "<#88C0D0>\u21e1 </>",
"branch_behind_icon": "<#88C0D0>\u21e3 </>",
"branch_icon": "",
"fetch_stash_count": true,
"fetch_status": true,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
"github_icon": "",
2022-02-03 01:22:57 -08:00
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#FFAFD7>*</>{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
},
"style": "plain",
"type": "git"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"segments": [
2021-01-23 06:19:46 -08:00
{
"foreground": "#A3BE8C",
"properties": {
2022-02-03 01:22:57 -08:00
"style": "austin",
"template": " {{ .FormattedMs }} "
},
"style": "plain",
"type": "executiontime"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
2021-01-23 06:19:46 -08:00
{
"foreground": "#B48EAD",
2022-02-03 01:22:57 -08:00
"foreground_templates": [
"{{ if gt .Code 0 }}#BF616A{{ end }}"
],
"properties": {
2022-02-03 01:22:57 -08:00
"always_enabled": true,
"template": "\u276f "
},
"style": "plain",
"type": "exit"
2021-01-23 06:19:46 -08:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
2022-02-03 01:22:57 -08:00
],
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}}(Admin){{end}} {{.Path}}",
"version": 1
2021-01-23 06:19:46 -08:00
}