console_title_template = '{{ .Shell }} in {{ .Folder }}' version = 3 final_space = true [palette] black = '#262B44' blue = '#4B95E9' cyan = '#70C9A5' green = '#59C9A5' orange = '#F07623' red = '#D81E5B' white = '#E0DEF4' yellow = '#F3AE35' [secondary_prompt] template = '❯❯ ' foreground = 'magenta' background = 'transparent' [transient_prompt] template = '❯ ' foreground = 'magenta' background = 'transparent' [[blocks]] type = 'prompt' alignment = 'left' newline = true [[blocks.segments]] style = 'plain' template = '{{ .Path }}' foreground = 'p:orange' background = 'transparent' type = 'path' [blocks.segments.properties] style = 'full' [[blocks.segments]] style = 'plain' template = '{{ if .SSHSession }} {{.UserName}}@{{.HostName}}{{end}}' foreground = 'blue' background = 'transparent' type = 'session' [[blocks.segments]] style = 'plain' template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} {{ if gt .Behind 0 }}⇣{{end}}{{ if gt .Ahead 0 }}⇡{{end}}' foreground = '#6c6c6c' background = 'transparent' type = 'git' [blocks.segments.properties] branch_icon = '' commit_icon = '@' fetch = true [[blocks]] type = 'rprompt' overflow = 'hidden' [[blocks.segments]] style = 'plain' template = '{{ .FormattedMs }}' foreground = 'yellow' background = 'transparent' type = 'executiontime' [[blocks]] type = 'prompt' alignment = 'left' newline = true [[blocks.segments]] style = 'plain' template = '' foreground = '' background = 'transparent' type = 'text' foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']