console_title_template = '{{ .PWD }}' version = 3 final_space = true [transient_prompt] template = '❱ ' background = 'transparent' foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{ if eq .Code 0}}magenta{{end}}'] [[blocks]] type = 'prompt' alignment = 'left' newline = true [[blocks.segments]] template = '{{ .Path }}' foreground = 'blue' background = 'transparent' type = 'path' style = 'plain' [blocks.segments.properties] cache_duration = 'none' style = 'full' [[blocks.segments]] template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} {{ if gt .Behind 0 }}⇣{{ .Behind }}{{ end }}{{ if gt .Ahead 0 }}⇡{{ .Ahead }}{{ end }}' foreground = '#2ac3de' background = 'transparent' type = 'git' style = 'plain' [blocks.segments.properties] branch_icon = '' cache_duration = 'none' commit_icon = '@' fetch_status = true [[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}}magenta{{end}}'] [blocks.segments.properties] cache_duration = 'none'