Update shell theme to better communicate the current path and git repo we're in

This commit is contained in:
Caleb Braaten 2025-11-26 22:55:17 -08:00
parent f704efc665
commit 2f3ac9861f

View File

@ -4,6 +4,7 @@ final_space = true
[palette]
blue = '#8AADF4'
lavender = '#B7BDF8'
teal = '#8BD5CA'
os = '#ACB0BE'
pink = '#F5BDE6'
text = '#494D64'
@ -17,7 +18,8 @@ final_space = true
leading_diamond = ''
template = '{{ .UserName }}@{{ .HostName }}'
foreground = 'p:text'
powerline_symbol = ''
powerline_symbol = ''
trailing_diamond = ''
background = 'p:blue'
type = 'session'
style = 'diamond'
@ -26,12 +28,34 @@ final_space = true
cache_duration = 'none'
[[blocks.segments]]
template = ' {{ .Path }}'
template = ' {{ .Segments.Git.RepoName }}'
foreground = 'p:text'
powerline_symbol = ''
background = 'p:teal'
type = 'text'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = '{{ if .Segments.Git.RepoName }}{{ if eq .Segments.Git.Dir .PWD }}./{{ else if contains "/" .Segments.Git.RelativeDir }}.//{{ .Folder }}{{ else }}./{{ .Folder }}{{ end }}{{ end }}'
foreground = 'p:text'
powerline_symbol = ''
background = 'p:pink'
type = 'text'
style = 'powerline'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = '{{ if not .Segments.Git.RepoName }} {{ .Path }}{{ end }}'
foreground = 'p:text'
powerline_symbol = ''
trailing_diamond = ''
background = 'p:pink'
type = 'path'
style = 'powerline'
style = 'diamond'
[blocks.segments.properties]
cache_duration = 'none'