{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "right", "segments": [ { "background": "#003543", "foreground": "#ffffff", "style": "plain", "template": " \ue641 {{ .CurrentDate | date .Format }} ", "type": "time" }, { "background": "#83769c", "foreground": "#ffffff", "properties": { "always_enabled": true }, "style": "plain", "template": " \ueba2 {{ .FormattedMs }} ", "type": "executiontime" } ], "type": "rprompt" }, { "alignment": "left", "segments": [ { "background": "#61AFEF", "foreground": "#ffffff", "properties": { "display_host": false }, "style": "diamond", "template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}", "trailing_diamond": "\ue0b0", "type": "session" }, { "background": "#C678DD", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "properties": { "folder_icon": "\uf115", "folder_separator_icon": " \ue0b1 ", "max_depth": 2, "style": "agnoster_short" }, "style": "powerline", "template": " {{ .Path }} ", "type": "path" }, { "background": "#95ffa4", "foreground": "#193549", "powerline_symbol": "\ue0b0", "properties": { "fetch_status": true }, "style": "powerline", "template": " {{ .HEAD }}{{ if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{- $staged := add .Staging.Added (add .Staging.Modified (add .Staging.Deleted .Staging.Unmerged)) -}}{{ if gt $staged 0 }} ^{{$staged}}{{ end }}{{ if gt .Working.Modified 0 }} ~{{ .Working.Modified }}{{ end }}{{ if gt .Working.Deleted 0 }} -{{ .Working.Deleted }}{{ end }}{{ if gt .Working.Untracked 0 }} +{{ .Working.Untracked }}{{ end }} ", "type": "git" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "#61AFEF", "style": "plain", "template": "❯ ", "type": "text" } ], "type": "prompt" } ], "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}", "final_space": true, "version": 3 }