console_title_template = '{{ .Shell }} in {{ .Folder }}' version = 3 final_space = true [secondary_prompt] template = '❯❯ ' foreground = 'green' background = 'transparent' [transient_prompt] template = '❯ ' background = 'transparent' foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}green{{end}}'] [[blocks]] type = 'prompt' alignment = 'left' newline = true [[blocks.segments]] template = '{{ .UserName }}' foreground = 'green' background = 'transparent' type = 'text' style = 'plain' [[blocks.segments]] template = '@{{ .HostName }}' foreground = 'white' background = 'transparent' type = 'text' style = 'plain' [[blocks.segments]] foreground = 'green' background = 'transparent' type = 'path' style = 'plain' [blocks.segments.properties] style = 'full' [[blocks.segments]] 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' style = 'plain' [blocks.segments.properties] branch_icon = '' commit_icon = '@' fetch_status = true [[blocks]] type = 'rprompt' overflow = 'hidden' [[blocks.segments]] template = '{{ .FormattedMs }}' foreground = 'yellow' background = 'transparent' type = 'executiontime' style = 'plain' [blocks.segments.properties] threshold = 5000 [[blocks]] type = 'prompt' alignment = 'left' newline = true [[blocks.segments]] template = '❯' background = 'transparent' type = 'text' style = 'plain' foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}green{{end}}']