mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
9663a29fe6
BREAKING CHANGE: this deprecates support for Nerd Font V2 and requires a compatible V3 Nerd Font. Note for users experiencing issues with icons, update to the latest Nerd Font of your choice
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#18354c",
|
|
"foreground": "#ffc107",
|
|
"leading_diamond": "\ue0b6",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "diamond",
|
|
"template": " \ue5ff {{ .Path }} ",
|
|
"trailing_diamond": "\ue0b0",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#18354c",
|
|
"foreground": "#ffc107",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"fetch_stash_count": true,
|
|
"fetch_upstream_icon": true
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \udb80\udd93 {{ .StashCount }}{{ end }} ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "#ffc107",
|
|
"foreground": "#18354c",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
|
"type": "python"
|
|
},
|
|
{
|
|
"background": "#ffc107",
|
|
"foreground": "#18354c",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \uf0e7 ",
|
|
"type": "root"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 2
|
|
}
|