#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json console_title_template = '{{if .Root}}(Admin){{end}} {{.PWD}}' version = 2 [palette] black = '#222531' bright_black = '#373b46' blue = '#6388D8' bright_blue = '#a4c4ff' cyan = '#00b1a8' bright_cyan = '#42dcd1' green = '#16B866' bright_green = '#51e08a' magenta = '#9d78ff' bright_magenta = '#d8adff' red = '#ff491a' bright_red = '#ff854f' white = '#a9bcc3' bright_white = '#cce7ec' yellow = '#e1c631' bright_yellow = '#FFE14E' dark_30 = '#414751' dark_40 = '#565f69' dark_50 = '#6e7882' dark_60 = '#86929d' bright_70 = '#9daeb6' bright_80 = '#b3cbcf' bright_90 = '#cce7ec' [[blocks]] alignment = 'left' type = 'prompt' [[blocks.segments]] type = 'os' style = 'plain' foreground = 'p:cyan' template = '{{.Icon}} ' [[blocks.segments]] foreground = 'p:dark_50' style = 'plain' template = '{{ .Path }} {{ if not .Writable}}󰌾 {{end}}' type = 'path' [blocks.segments.properties] style = 'agnoster' [[blocks]] alignment = 'left' type = 'prompt' [[blocks.segments]] type = 'python' foreground = 'p:blue' background = "p:bright_black" leading_diamond = "" style = "diamond" trailing_diamond = " " template = "  {{ .Venv }} " [blocks.segments.properties] display_default = false [[blocks.segments]] foreground = 'p:bright_cyan' background = "p:bright_black" leading_diamond = "" style = "diamond" trailing_diamond = "" template = " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} " type = 'git' [blocks.segments.properties] branch_icon = ' ' commit_icon = ' ' merge_icon = ' ' no_commits_icon = ' ' rebase_icon = ' ' revert_icon = ' ' tag_icon = ' ' fetch_stash_count = true fetch_status = true fetch_upstream_icon = true [[blocks]] type = "prompt" alignment = "right" [[blocks.segments]] foreground = 'p:green' style = 'plain' template = '{{ .FormattedMs }}' type = 'executiontime' [blocks.segments.properties] style = 'austin' [[blocks.segments]] type = "time" style = "plain" foreground = "p:dark_30" [blocks.segments.properties] time_format = "3:04:05pm" [[blocks.segments]] type = "session" style = "plain" foreground = "p:dark_50" template = "{{.UserName}}" [[blocks.segments]] type = "session" style = "plain" foreground = "p:cyan" template = " {{ if .SSHSession }}󰄙 {{ else }}@{{ end }} " [[blocks.segments]] type = "session" style = "plain" foreground = "p:blue" template = "{{.HostName}}" [[blocks]] type = 'prompt' alignment = 'left' newline = true [[blocks.segments]] type = 'text' style = 'plain' foreground_templates = [ "{{if gt .Code 0}}p:red{{end}}", "{{if eq .Code 0}}p:bright_green{{end}}", ] background = 'transparent' template = '❯ ' [transient_prompt] foreground_templates = [ "{{if gt .Code 0}}p:red{{end}}", "{{if eq .Code 0}}p:bright_green{{end}}", ] background = 'transparent' template = '❯ ' [secondary_prompt] foreground = 'p:bright_green' background = 'transparent' template = '❯❯ '