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

91 lines
2.4 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",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .UserName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
2021-01-23 06:19:46 -08:00
},
{
"foreground": "#81A1C1",
"properties": {
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .Path }} ",
2022-02-03 01:22:57 -08:00
"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,
2022-03-27 01:12:47 -07:00
"github_icon": ""
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07: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 }} ",
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"style": "austin"
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }} ",
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u276f ",
2022-02-03 01:22:57 -08:00
"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_template": "{{if .Root}}(Admin){{end}} {{.PWD}}",
"transient_prompt": {
"foreground": "#B48EAD",
"foreground_templates": [
"{{ if gt .Code 0 }}#BF616A{{ end }}"
],
"template": "\u276f "
},
2022-03-27 01:12:47 -07:00
"version": 2
2021-01-23 06:19:46 -08:00
}