{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "palette": { "nix": "#81A1C1", "error": "#BF616A", "backgroundish": "#525252", "white": "#FFF", "whiteish": "#DDE1E6" }, "blocks": [ { "alignment": "left", "segments": [ { "foreground": "p:whiteish", "properties": { "folder_separator_icon": "/", "home_icon": "~", "style": "letter" }, "style": "plain", "template": "{{.Path}} ", "type": "path" }, { "foreground": "p:whiteish", "properties": { "branch_icon": "", "branch_ahead_icon": "\u21e1", "branch_behind_icon": "\u21e3", "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, "github_icon": "" }, "style": "plain", "template": "on {{.HEAD}} ", "type": "git" }, { "foreground": "p:white", "foreground_templates": [ "{{if contains .Env.IN_NIX_SHELL \"pure\"}}p:nix{{end}}", "{{if contains .Env.IN_NIX_SHELL \"impure\"}}p:nix{{end}}", "{{if gt .Code 0}}p:error{{end}}" ], "style": "plain", "template": "{{if .Root}}#{{else}}λ{{end}} ", "type": "text" } ], "type": "prompt" }, { "alignment": "left", "segments": [ { "type": "executiontime", "style": "plain", "template": "<#eed49f>{{ .FormattedMs }}" } ], "type": "rprompt" } ], "console_title_template": "{{if .Root}}#{{end}} {{.PWD}}", "transient_prompt": { "foreground": "p:white", "foreground_templates": [ "{{if contains .Env.IN_NIX_SHELL \"pure\"}}p:nix{{end}}", "{{if contains .Env.IN_NIX_SHELL \"impure\"}}p:nix{{end}}", "{{if gt .Code 0 }}p:error{{ end }}" ], "template": "λ " }, "secondary_prompt": { "foreground": "p:backgroundish", "template": "λ> " }, "version": 2 }