{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "foreground": "lightBlue", "foreground_templates": [ "{{ if .Root }}red{{ end }}" ], "properties": { "display_host": true }, "style": "plain", "template": "\u250c\u2500\u2500({{ if .Root }}root💀{{ else }}{{ .UserName }}@{{ end }}{{ .HostName }})", "type": "session" }, { "foreground": "yellow", "properties": { "fetch_version": false, "fetch_virtual_env": true }, "style": "plain", "template": "-[\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}]", "type": "python" }, { "foreground": "lightWhite", "properties": { "folder_separator_icon": "<#c0c0c0>/", "style": "full" }, "style": "plain", "template": "-[{{ .Path }}]", "type": "path" }, { "foreground": "white", "style": "plain", "template": "-[{{ .HEAD }}]", "type": "git" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "foreground": "white", "properties": { "always_enabled": true, "style": "round" }, "style": "plain", "template": " {{ .FormattedMs }} ", "type": "executiontime" }, { "foreground": "green", "foreground_templates": [ "{{ if gt .Code 0 }}red{{ end }}" ], "properties": { "always_enabled": true }, "style": "plain", "template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} ", "type": "exit" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "lightBlue", "style": "plain", "template": "\u2514\u2500{{ if .Root }}#{{ else }}${{ end }} ", "type": "text" } ], "type": "prompt" } ], "version": 2 }