2022-02-02 06:46:50 -08:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#0E050F",
|
|
|
|
"foreground": "#EFDCF9",
|
|
|
|
"properties": {
|
|
|
|
"arch": "\uf303",
|
|
|
|
"debian": "\uf306",
|
|
|
|
"fedora": "\uf30a",
|
|
|
|
"linux": "\uf17c",
|
|
|
|
"macos": "\uf179",
|
|
|
|
"manjaro": "\uf312",
|
|
|
|
"opensuse": "\uf314",
|
|
|
|
"ubuntu": "\uf31b",
|
|
|
|
"windows": "\uf17a"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
2022-02-02 06:46:50 -08:00
|
|
|
"type": "os"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#170B3B",
|
|
|
|
"foreground": "#EFDCF9",
|
|
|
|
"powerline_symbol": "\ue0b4",
|
|
|
|
"properties": {
|
|
|
|
"folder_icon": "...",
|
|
|
|
"folder_separator_icon": "/",
|
|
|
|
"home_icon": "~",
|
|
|
|
"max_depth": 3,
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "agnoster_short"
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Path }} ",
|
2022-02-02 06:46:50 -08:00
|
|
|
"type": "path"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#341948",
|
|
|
|
"foreground": "#EFDCF9",
|
|
|
|
"powerline_symbol": "\ue0b4",
|
|
|
|
"properties": {
|
|
|
|
"branch_max_length": 25,
|
|
|
|
"fetch_stash_count": true,
|
|
|
|
"fetch_status": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_upstream_icon": true
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": " {{ .UpstreamIcon }}{{ .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 }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
2022-02-02 06:46:50 -08:00
|
|
|
"type": "git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#EFDCF9",
|
|
|
|
"powerline_symbol": "\ue0b4",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .FormattedMs }} ",
|
2022-02-02 06:46:50 -08:00
|
|
|
"type": "executiontime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#69307A",
|
|
|
|
"foreground": "#EFDCF9",
|
|
|
|
"foreground_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#FF3C3C{{ end }}"
|
|
|
|
],
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2023-11-06 08:48:01 -08:00
|
|
|
"template": " \uf08a{{ if gt .Code 0 }} {{.Code}}{{ end }} ",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
2023-07-23 00:29:54 -07:00
|
|
|
"type": "status"
|
2022-02-02 06:46:50 -08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#E4F34A",
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_version": false
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "python"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#7FD5EA",
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_version": false
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": "\ue626{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "go"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#42E66C",
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_version": false
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#E64747",
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_version": false
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "ruby"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#E64747",
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_version": false
|
2022-02-02 06:46:50 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "java"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "rprompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#4c1f5e",
|
|
|
|
"foreground": "#EFDCF9",
|
|
|
|
"properties": {
|
|
|
|
"time_format": "15:04:05"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .CurrentDate | date .Format }} ",
|
2022-02-02 06:46:50 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "time"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"console_title_template": "{{ .Shell }} - {{ .Folder }}",
|
|
|
|
"final_space": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2022-02-02 06:46:50 -08:00
|
|
|
}
|