mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-29 04:49:39 -08:00
135 lines
3.4 KiB
JSON
135 lines
3.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#007ACC",
|
|
"foreground": "#222222",
|
|
"properties": {
|
|
"style": "austin",
|
|
"threshold": 321
|
|
},
|
|
"style": "plain",
|
|
"template": " {{ .FormattedMs }} ",
|
|
"type": "executiontime"
|
|
},
|
|
{
|
|
"background": "#880000",
|
|
"foreground": "#ff8888",
|
|
"style": "plain",
|
|
"template": "{{ if gt .Code 0 }} {{ .Code }} {{ end }}",
|
|
"type": "exit"
|
|
},
|
|
{
|
|
"background": "#ffcc88",
|
|
"foreground": "#222222",
|
|
"style": "plain",
|
|
"template": "\uf0e7",
|
|
"type": "root"
|
|
},
|
|
{
|
|
"background": "#222222",
|
|
"foreground": "#666666",
|
|
"style": "plain",
|
|
"template": " {{ if .WSL }}\uf68e {{ end }}{{.Icon}}",
|
|
"type": "os"
|
|
},
|
|
{
|
|
"background": "#222222",
|
|
"foreground": "#666666",
|
|
"style": "plain",
|
|
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#444444",
|
|
"foreground": "#cccccc",
|
|
"properties": {
|
|
"folder_icon": "\u2026",
|
|
"style": "mixed"
|
|
},
|
|
"style": "plain",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#f14e32",
|
|
"foreground": "#f0efe7",
|
|
"properties": {
|
|
"branch_icon": "\ue725 ",
|
|
"cherry_pick_icon": "\ue29b ",
|
|
"commit_icon": "\uf417 ",
|
|
"fetch_status": false,
|
|
"fetch_upstream_icon": false,
|
|
"merge_icon": "\ue727 ",
|
|
"no_commits_icon": "\uf594 ",
|
|
"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",
|
|
"template": " \ufcd1 ",
|
|
"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",
|
|
"template": "\u276f ",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 2
|
|
}
|