{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "transient_prompt": { "template": " ❯❯ {[ .AbsolutePWD ]} : ", "foreground": "{{colors.secondary.default.hex}}", "background": "transparent", "newline": true }, "blocks": [ { "type": "prompt", "alignment": "left", "segments": [ { "properties": { "cache_duration": "none" }, "template": "\n\u256d\u2500", "foreground": "{{colors.secondary.default.hex}}", "type": "text", "style": "plain" }, { "properties": { "cache_duration": "none" }, "leading_diamond": "\ue0b6", "template": "{[ .UserName ]}", "foreground": "{{colors.on_surface.default.hex}}", "background": "{{colors.on_primary_fixed.default.hex}}", "type": "session", "style": "diamond" }, { "properties": { "cache_duration": "none" }, "template": "\udb85\udc0b", "foreground": "#ff5555", "powerline_symbol": "\ue0b0", "background": "{{colors.on_primary_fixed.default.hex}}", "type": "root", "style": "powerline" }, { "properties": { "cache_duration": "none" }, "template": "{[ .Icon ]} ", "foreground": "{{colors.on_surface.default.hex}}", "powerline_symbol": "\ue0b0", "background": "{{colors.on_primary_fixed.default.hex}}", "type": "os", "style": "powerline" }, { "properties": { "cache_duration": "none", "style": "full" }, "trailing_diamond": "\ue0b4", "template": " \udb80\ude56 {[ path .Path .Location ]}", "foreground": "{{colors.surface.default.hex}}", "background": "{{colors.secondary.default.hex}}", "type": "path", "style": "diamond" } ] }, { "type": "prompt", "alignment": "right", "segments": [ { "properties": { "branch_icon": "", "cache_duration": "none", "display_changing_color": true, "fetch_status": true, "fetch_upstream_icon": true, "full_branch_path": true }, "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\ue725 ({[ url .UpstreamIcon .UpstreamURL ]} {[ url .HEAD .UpstreamURL ]}){[ if gt .Ahead 0 ]}<#50fa7b> +{[ .Ahead ]}{[ end ]}{[ if gt .Behind 0 ]}<#ff5555> -{[ .Behind ]}{[ end ]}{[ if .Working.Changed ]}<#f8f8f2> \uf044 {[ .Working.String ]}{[ end ]}{[ if .Staging.Changed ]}<#f8f8f2> \uf046 {[ .Staging.String ]}{[ end ]}", "foreground": "#282a36", "background": "#ffb86c", "type": "git", "style": "diamond" }, { "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\ue718 {[ .Full ]}", "foreground": "{{colors.surface.default.hex}}", "background": "#50fa7b", "type": "node", "style": "diamond" }, { "properties": { "display_mode": "files", "extensions": [ "package-lock.json" ] }, "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\ue71e {[ .Full ]}", "foreground": "{{colors.surface.default.hex}}", "background": "#ff5555", "type": "npm", "style": "diamond" }, { "properties": { "display_mode": "files", "extensions": [ "pnpm-lock.yaml" ] }, "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\udb80\udec1 {[ .Full ]}", "foreground": "{{colors.surface.default.hex}}", "background": "#ffb86c", "type": "pnpm", "style": "diamond" }, { "properties": { "display_mode": "files" }, "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\ue73c {[ .Full ]}", "foreground": "{{colors.surface.default.hex}}", "background": "#50fa7b", "type": "python", "style": "diamond" }, { "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\ue738 {[ .Full ]}", "foreground": "{{colors.surface.default.hex}}", "background": "#ff79c6", "type": "java", "style": "diamond" }, { "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": "\ue73d {[ .Full ]}", "foreground": "{{colors.on_surface.default.hex}}", "background": "#6272a4", "type": "php", "style": "diamond" } ] }, { "type": "prompt", "alignment": "left", "segments": [ { "properties": { "always_enabled": true, "cache_duration": "none" }, "template": "\u2570\u2500 ❯❯", "foreground": "{{colors.secondary.default.hex}}", "type": "text", "style": "diamond" } ], "newline": true } ], "version": 3, "patch_pwsh_bleed": true, "final_space": true }