template:" {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
- type:php
style:powerline
powerline_symbol:
background:lightCyan
foreground:black
template:" {{ .Full }} "
- type:project
style:powerline
powerline_symbol:
background:lightYellow
foreground:black
template:" {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }} {{.Version}}{{ end }} {{ if .Name }}{{ .Name }}{{ end }}{{ end }} "
- type:python
style:powerline
powerline_symbol:
background:lightYellow
foreground:black
properties:
display_mode:files
fetch_virtual_env:false
template:" {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
- type:ruby
style:powerline
powerline_symbol:
background:red
foreground:black
properties:
display_mode:files
fetch_version:true
template:" {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
- type:time
style:powerline
powerline_symbol:
background:yellow
foreground:black
properties:
time_format:Mon | 15:04:05
template:" {{ .CurrentDate | date .Format }} "
- type:executiontime
style:diamond
trailing_diamond:
background:cyan
foreground:black
properties:
style:austin
threshold:0
template:" {{ .FormattedMs }} "
- type:prompt
alignment:right
segments:
- type:git
style:diamond
leading_diamond:
trailing_diamond:
background:magenta
foreground:black
properties:
branch_icon:" "
fetch_stash_count:true
fetch_status:true
fetch_upstream_icon:true
fetch_worktree_count:true
template:"{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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:prompt
alignment:left
newline:true
segments:
- type:text
style:plain
foreground:cyan
template:" ╚"
- type:exit
style:diamond
leading_diamond:
background:blue
background_templates:
- "{{ if gt .Code 0 }}red{{ end }}"
foreground:black
properties:
always_enabled:true
template:" {{ if gt .Code 0 }}{{ else }}{{ end }}{{ if eq ( gt .Code 0 ) .Segments.Path.Writable}} {{ end }}"