#"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" version = 2 final_space = true console_title_template = " {{ .Folder }} :: {{if .Root}}Admin{{end}}" [palette] main-bg = "transparent" terminal-red = "#f7768e" pistachio-green = "#9ece6a" terminal-green = "#73daca" terminal-yellow = "#e0af68" terminal-blue = "#7aa2f7" celeste-blue = "#b4f9f8" light-sky-blue = "#7dcfff" terminal-white = "#c0caf5" white-blue = "#a9b1d6" blue-bell = "#9aa5ce" pastal-grey = "#cfc9c2" terminal-magenta = "#bb9af7" blue-black = "#565f89" terminal-black = "#414868" t-background = "p:main-bg" [[blocks]] newline = true alignment = "left" type = "prompt" [[blocks.segments]] foreground = "#45F1C2" style = "plain" template = " {{ .UserName }}" type = "session" [[blocks.segments]] foreground = "red" style = "plain" template = "󰁥 " type = "text" [[blocks.segments]] foreground = "#45F1C2" style = "plain" template = " {{ .HostName }} " type = "session" [[blocks]] newline = true alignment = "left" type = "prompt" [[blocks.segments]] foreground = "#0CA0D8" style = "plain" template = " {{ .Path }} " type = "path" [blocks.segments.properties] folder_separator_icon = "/" style = "full" [[blocks.segments]] type = "git" style = "plain" foreground = "p:pistachio-green" foreground_templates = [ "{{ if or (.Working.Changed) (.Staging.Changed) }}p:terminal-red{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0)}}p:light-sky-blue {{ end }}", "{{ if gt .Ahead 0 }}p:terminal-yellow{{ end }}", "{{ if gt .Behind 0 }}p:celeste-blue{{ end }}" ] template = "({{ .HEAD}})" [blocks.segments.properties] fetch_status = true branch_icon = " " [[blocks.segments]] type = "status" style = "plain" foreground = "p:terminal-red" template = " " [properties] fetch_status = true fetch_upstream_icon = true source = "cli" [properties.mapped_branches] "feat/*" = "🚀 " "bug/*" = "🐛 " "main/*" = "💎 " "dev/*" = "⚙️ " # foreground = "#915ada" # powerline_symbol = "" # style = "plain" # # template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} " # template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} {{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}' # type = "git" [blocks.segments.properties] fetch_stash_count = true fetch_upstream_icon = true [[blocks]] alignment = "left" newline = true type = "prompt" [[blocks.segments]] foreground = "#cd5e42" style = "plain" template = " " type = "root" [[blocks.segments]] foreground = "#CD4277" style = "plain" template = "# " type = "text" [[blocks]] alignment = "left" type = "plain" [transient_prompt] background = 'transparent' foreground = 'magenta' template = "" # template = '>' type = "prompt" foreground_templates = [ "{{if gt .Code 0}}red{{end}}", "{{if eq .Code 0}}green{{end}}", ] # # foreground = "p:terminal-blue"