#"$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 = "p:terminal-magenta" foreground_templates = [ "{{if .SSHSession }}{{end}}", ] style = "plain" template = " {{ .UserName }}" type = "session" [[blocks.segments]] foreground = "p:terminal-black" style = "plain" template = "󰁥 " type = "text" [[blocks.segments]] foreground = "p:terminal-magenta" style = "plain" template = " {{ .HostName }} " type = "session" [[blocks]] newline = true alignment = "left" type = "prompt" [[blocks.segments]] foreground = "p:blue-black" 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 }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} {{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }})' [blocks.segments.properties] fetch_status = true branch_icon = " " [[blocks.segments]] type = "status" style = "plain" foreground = "p:terminal-red" template = " " [blocks.segments.properties] fetch_stash_count = true fetch_upstream_icon = true [[blocks]] alignment = "right" overflow = "hide" type = "prompt" [[blocks.segments]] type = "node" style = "plain" foreground = "p:pistachio-green" template = " {{ .Full }} " [[blocks.segments]] type = "php" style = "plain" foreground = "p:terminal-blue" template = " {{ .Full }} " [[blocks.segments]] type = "python" style = "plain" foreground = "p:terminal-yellow" template = " {{ .Full }}" [[blocks.segments]] type = "julia" style = "plain" foreground = "p:terminal-magenta" template = " {{ .Full }}" [[blocks.segments]] type = "ruby" style = "plain" foreground = "p:terminal-red" template = " {{ .Full}}" [[blocks.segments]] type = "go" style = "plain" foreground = "p:light-sky-blue" template = "ﳑ {{ .Full}}" [[blocks.segments]] type = "command" style = "plain" foreground = "p:white-blue" [blocks.segments.properties] command = "git log --pretty=format:%cr -1 || date +%H:%M:%S" shell = "bash" [[blocks]] alignment = "left" newline = true type = "prompt" [[blocks.segments]] style = "plain" foreground_templates = [ "{{if gt .Code 0}}p:terminal-red{{end}}", "{{if eq .Code 0}}p:pistachio-green{{end}}", ] template = "" type = "text" newline = true [secondary_prompt] background = "transparent" foreground = "p:terminal-blue" template = "" [transient_prompt] type = "status" background = "transparent" foreground_templates = [ "{{if gt .Code 0}}terminal-red{{end}}", "{{if eq .Code 0}}p:pistachio-green{{end}}", ] # foreground = "p:terminal-blue" template = ""