mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
104 lines
2.8 KiB
JSON
104 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"foreground": "#26C6DA",
|
|
"properties": {
|
|
"macos": "mac",
|
|
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}"
|
|
},
|
|
"style": "plain",
|
|
"type": "os"
|
|
},
|
|
{
|
|
"foreground": "#26C6DA",
|
|
"properties": {
|
|
"template": " {{ .UserName }}: "
|
|
},
|
|
"style": "plain",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"foreground": "lightGreen",
|
|
"properties": {
|
|
"style": "folder",
|
|
"template": "{{ .Path }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"fetch_stash_count": true,
|
|
"template": "<#ffffff>on</> {{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
|
},
|
|
"style": "plain",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"foreground": "#906cff",
|
|
"properties": {
|
|
"template": "[\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}] "
|
|
},
|
|
"style": "powerline",
|
|
"type": "python"
|
|
},
|
|
{
|
|
"foreground": "#7FD5EA",
|
|
"properties": {
|
|
"template": "[\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] "
|
|
},
|
|
"style": "powerline",
|
|
"type": "go"
|
|
},
|
|
{
|
|
"foreground": "#76b367",
|
|
"properties": {
|
|
"template": "[\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}] "
|
|
},
|
|
"style": "powerline",
|
|
"type": "node"
|
|
},
|
|
{
|
|
"foreground": "#f44336",
|
|
"properties": {
|
|
"template": "[\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] "
|
|
},
|
|
"style": "powerline",
|
|
"type": "ruby"
|
|
},
|
|
{
|
|
"foreground": "#ea2d2e",
|
|
"properties": {
|
|
"template": "[\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] "
|
|
},
|
|
"style": "powerline",
|
|
"type": "java"
|
|
},
|
|
{
|
|
"foreground": "#4063D8",
|
|
"properties": {
|
|
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "julia"
|
|
},
|
|
{
|
|
"foreground": "#FFD54F",
|
|
"properties": {
|
|
"template": "\u276f "
|
|
},
|
|
"style": "plain",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 1
|
|
}
|