{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "type": "prompt", "alignment": "left", "segments": [ { "type": "root", "style": "plain", "foreground": "#ffffff", "background": "#BF231D" }, { "type": "os", "style": "plain", "background": "#0A703E", "foreground": "#ffffff", "properties": { "wsl": "", "wsl_separator": "", "prefix": " ", "postfix": " " } }, { "type": "session", "style": "plain", "background": "#0A703E", "foreground": "#ffffff", "properties": { "display_host": false, "prefix": "", "postfix": " " } }, { "type": "path", "style": "plain", "foreground": "#ffffff", "background": "#256C9D", "properties": { "max_depth": 2, "folder_icon": "\uF115", "folder_separator_icon": " \uE0B1 ", "style": "agnoster_short", "postfix": " " } }, { "type": "git", "style": "plain", "foreground": "#ffffff", "background": "#256C9D", "properties": { "fetch_status": true, "fetch_stash_count": false, "branch_max_length": 30, "fetch_upstream_icon": true, "prefix": "[ ", "postfix": " ]", "template": "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}" } }, { "type": "text", "style": "plain", "foreground": "#256C9D", "properties": { "prefix": "", "text": "\uE0B0" } } ] } ] }