2022-02-23 22:12:42 -08:00
|
|
|
{
|
2022-03-27 01:12:47 -07:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
2022-02-23 22:12:42 -08:00
|
|
|
{
|
2022-03-27 01:12:47 -07:00
|
|
|
"background": "#007ACC",
|
|
|
|
"foreground": "#222222",
|
|
|
|
"properties": {
|
|
|
|
"style": "austin",
|
|
|
|
"threshold": 321
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"template": " {{ .FormattedMs }} ",
|
|
|
|
"type": "executiontime"
|
2022-02-23 22:12:42 -08:00
|
|
|
},
|
|
|
|
{
|
2022-03-27 01:12:47 -07:00
|
|
|
"background": "#880000",
|
|
|
|
"foreground": "#ff8888",
|
|
|
|
"style": "plain",
|
|
|
|
"template": "{{ if gt .Code 0 }} {{ .Code }} {{ end }}",
|
2023-07-23 00:29:54 -07:00
|
|
|
"type": "status"
|
2022-03-27 01:12:47 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffcc88",
|
|
|
|
"foreground": "#222222",
|
|
|
|
"style": "plain",
|
|
|
|
"template": "\uf0e7",
|
|
|
|
"type": "root"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#222222",
|
|
|
|
"foreground": "#666666",
|
|
|
|
"style": "plain",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": " {{ if .WSL }}\uebcc {{ end }}{{.Icon}}",
|
2022-03-27 01:12:47 -07:00
|
|
|
"type": "os"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#222222",
|
|
|
|
"foreground": "#666666",
|
|
|
|
"style": "plain",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }}@{{ .HostName }} ",
|
2022-03-27 01:12:47 -07:00
|
|
|
"type": "session"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#444444",
|
|
|
|
"foreground": "#cccccc",
|
|
|
|
"properties": {
|
|
|
|
"folder_icon": "\u2026",
|
|
|
|
"style": "mixed"
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"template": " {{ .Path }} ",
|
|
|
|
"type": "path"
|
|
|
|
},
|
|
|
|
{
|
2024-05-05 12:50:27 -07:00
|
|
|
"background": "#cf432B",
|
|
|
|
"foreground": "#f1f0e9",
|
2022-03-27 01:12:47 -07:00
|
|
|
"properties": {
|
|
|
|
"branch_icon": "\ue725 ",
|
|
|
|
"cherry_pick_icon": "\ue29b ",
|
|
|
|
"commit_icon": "\uf417 ",
|
|
|
|
"fetch_status": false,
|
|
|
|
"fetch_upstream_icon": false,
|
|
|
|
"merge_icon": "\ue727 ",
|
2023-05-09 02:08:45 -07:00
|
|
|
"no_commits_icon": "\uf0c3 ",
|
2022-03-27 01:12:47 -07:00
|
|
|
"rebase_icon": "\ue728 ",
|
|
|
|
"revert_icon": "\uf0e2 ",
|
|
|
|
"tag_icon": "\uf412 "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"template": " {{ .HEAD }} ",
|
|
|
|
"type": "git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#7014eb",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": false
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"template": " \ue77f ",
|
|
|
|
"type": "dotnet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#7FD5EA",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": false
|
|
|
|
},
|
|
|
|
"style": "plain",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": " \ue626 ",
|
2022-03-27 01:12:47 -07:00
|
|
|
"type": "go"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#906cff",
|
|
|
|
"foreground": "#100e23",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": false
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"template": " \ue235 ",
|
|
|
|
"type": "python"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#99908a",
|
|
|
|
"foreground": "#193549",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": false
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"template": " \ue7a8 ",
|
|
|
|
"type": "rust"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#007ACC",
|
|
|
|
"style": "plain",
|
2022-08-10 20:37:03 -07:00
|
|
|
"template": "{{ .Name }} ",
|
|
|
|
"type": "shell",
|
|
|
|
"properties": {
|
|
|
|
"mapped_shell_names": {
|
|
|
|
"pwsh": "\u276f",
|
2022-08-11 21:02:01 -07:00
|
|
|
"shell": "\u276f",
|
2022-08-10 20:37:03 -07:00
|
|
|
"cmd": ">",
|
|
|
|
"lua": ">",
|
2022-08-11 21:02:01 -07:00
|
|
|
"nu": ":)",
|
2022-08-10 20:37:03 -07:00
|
|
|
"fish": "~>",
|
|
|
|
"zsh": "%",
|
|
|
|
"bash": "$"
|
|
|
|
}
|
|
|
|
}
|
2022-02-23 22:12:42 -08:00
|
|
|
}
|
2022-03-27 01:12:47 -07:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"version": 2
|
2022-02-23 22:12:42 -08:00
|
|
|
}
|