| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- '$schema' = 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json'
- version = 4
- async = true
- console_title_template = '{{ .Shell }} in {{ .Folder }}'
- final_space = true
- [[blocks]]
- type = 'prompt'
- alignment = 'left'
- newline = true
- [[blocks.segments]]
- template = ' {{ if .SSHSession }} {{ .HostName }}{{ end }}{{ if .Root }} root{{ end }}'
- foreground = '#efdcf9'
- foreground_templates = ['{{ if .Root }}#ff3c3c{{ end }}', '{{ if .SSHSession }}#0e050f{{ end }}']
- background = '#0e050f'
- background_templates = ['{{ if and (not .Root) .SSHSession }}#a060e3{{ end }}']
- type = 'session'
- style = 'accordion'
- [[blocks.segments]]
- type = 'path'
- template = ' {{ .Path }} '
- foreground = '#efdcf9'
- background = '#170b3b'
- style = 'powerline'
- powerline_symbol = ''
- [blocks.segments.options]
- style = 'mixed'
- mixed_threshold = 16
- folder_icon = ''
- display_root = true
- [[blocks.segments]]
- type = 'git'
- template = ' {{ url .UpstreamIcon .UpstreamURL }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} '
- foreground = '#efdcf9'
- background = '#2c1048'
- style = 'powerline'
- powerline_symbol = ''
- [blocks.segments.options]
- branch_icon = ''
- branch_template = '{{ trunc 25 .Branch }}'
- disable_with_jj = true
- fetch_stash_count = true
- fetch_status = true
- fetch_upstream_icon = true
- untracked_modes = {'*' = 'no'}
- [[blocks.segments]]
- type = 'jujutsu'
- template = ' {{ .ChangeID }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }} '
- foreground = '#efdcf9'
- background = '#2c1048'
- style = 'powerline'
- powerline_symbol = ''
- [blocks.segments.options]
- fetch_status = true
- change_id_min_len = 4
- [[blocks.segments]]
- type = 'terraform'
- template = ' {{ .WorkspaceName }} '
- foreground = '#efdcf9'
- background = '#3a1c50'
- style = 'powerline'
- powerline_symbol = ''
- [[blocks.segments]]
- type = 'time'
- template = ' {{ .CurrentDate | date .Format }} '
- foreground = '#efdcf9'
- background = '#4c1f5e'
- style = 'powerline'
- powerline_symbol = ''
- [blocks.segments.options]
- time_format = '15:04'
- [[blocks.segments]]
- type = 'executiontime'
- template = '{{ .FormattedMs }} '
- foreground = '#efdcf9'
- background = '#4c1f5e'
- style = 'powerline'
- powerline_symbol = ''
- [[blocks.segments]]
- type = 'text'
- template = '{{ if gt .SHLVL 1 }} SHLVL:{{ .SHLVL }} {{ end }}'
- foreground = '#efdcf9'
- background = '#5a276a'
- style = 'diamond'
- trailing_diamond = ''
- [[blocks.segments]]
- type = 'text'
- template = '{{ if gt .Jobs 0 }} {{ .Jobs }} {{ end }}'
- foreground = '#efdcf9'
- background = '#69307a'
- style = 'diamond'
- trailing_diamond = ''
- [blocks.segments.options]
- always_enabled = true
- [[blocks.segments]]
- type = 'status'
- template = '{{ if gt .Code 0 }} {{ .String }} {{ end }}'
- foreground = '#efdcf9'
- background = '#754083'
- style = 'diamond'
- trailing_diamond = ''
- [[blocks]]
- type = 'prompt'
- alignment = 'left'
- newline = true
- [[blocks.segments]]
- type = 'text'
- style = 'plain'
- template = '{{ if .Root }}#{{ else }}${{ end }}'
- background_templates = ['{{ if .Root }}#771111{{ end }}']
- [[tooltips]]
- tips = ['pydoc3', 'python', 'python3', 'uv', 'pip', 'pip3']
- type = 'python'
- template = ' {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}'
- foreground = '#efdcf9'
- background = '#341948'
- style = 'diamond'
- leading_diamond = ''
- trailing_diamond = ''
- [[tooltips]]
- tips = ['node', 'bun']
- type = 'node'
- template = '{{ .PackageManagerIcon }} {{ .PackageManagerName }} {{ .Full }}'
- foreground = '#efdcf9'
- background = '#341948'
- style = 'diamond'
- leading_diamond = ''
- trailing_diamond = ''
- [tooltips.options]
- display_mode = 'always'
- fetch_package_manager = true
|