I don't know why this changed

This commit is contained in:
Daylin Morgan 2025-01-28 10:29:47 -06:00
parent 3edbf2d9c2
commit 36753a827e
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,98 +1,109 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version: 2
palette:
rosewater: "#f5e0dc"
sky: "#89dceb"
transient_prompt: transient_prompt:
template: " "
foreground: cyan foreground: cyan
background: transparent background: transparent
template: " "
palette:
rosewater: '#f5e0dc'
sky: '#89dceb'
final_space: true
shell_integration: true
disable_notice: true
blocks: blocks:
- type: prompt - type: prompt
alignment: left alignment: left
segments: segments:
# language segments - properties:
- type: python cache_duration: none
style: plain template: "\ue235 {{ .Full }} "
foreground: "yellow" foreground: yellow
template: " {{ .Full }} " type: python
- type: go style: plain
style: plain - properties:
foreground: "cyan" cache_duration: none
template: " {{ .Full }} " template: "\ue627 {{ .Full }} "
- type: rust foreground: cyan
style: plain type: go
foreground: "red" style: plain
template: " {{ .Full }} " - properties:
- type: node cache_duration: none
style: plain template: "\ue7a8 {{ .Full }} "
foreground: "p:sky" foreground: red
template: " {{ .Full }} " type: rust
- type: project style: plain
style: plain - properties:
foreground: "p:rosewater" cache_duration: none
template: > template: "\ue718 {{ .Full }} "
{{ if .Error }} {{ .Error }}{{ else -}} foreground: p:sky
{{ if .Version }} {{.Version}}{{ end -}} type: node
{{ if .Name }} {{ .Name }} {{ end }}{{ end -}} style: plain
- type: git - properties:
foreground: magenta cache_duration: none
properties: template: "{{ if .Error }} {{ .Error }}{{ else -}} {{ if .Version }}\uf487 {{.Version}}{{ end -}} {{ if .Name }} {{ .Name }} {{ end }}{{ end -}}"
branch_max_length: 25 foreground: p:rosewater
fetch_stash_count: true type: project
fetch_status: true style: plain
fetch_upstream_icon: true - properties:
style: plain branch_max_length: 25
template: > cache_duration: none
{{ .UpstreamIcon }}{{ .HEAD }}{{ if .BranchStatus }} {{ .BranchStatus }}{{ end -}} fetch_stash_count: true
{{ if .Working.Changed }}  {{ .Working.String }}{{ end -}} fetch_status: true
{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end -}} fetch_upstream_icon: true
{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end -}} template: "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .BranchStatus }} {{ .BranchStatus }}{{ end -}} {{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end -}} {{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end -}} {{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end -}}"
- type: prompt foreground: magenta
alignment: left type: git
newline: true style: plain
segments: - type: prompt
- type: path alignment: left
style: plain segments:
foreground: 'cyan' - properties:
properties: cache_duration: none
style: unique style: unique
template:  {{ .Path }} template:  {{ .Path }}
- type: prompt foreground: cyan
alignment: right type: path
segments: style: plain
- type: status newline: true
style: plain - type: prompt
foreground: 'green' alignment: right
foreground_templates: segments:
- '{{ if gt .Code 0 }}red{{ end }}' - properties:
template: ' x{{ reason .Code }} ' cache_duration: none
- type: executiontime template: " x{{ reason .Code }} "
style: plain foreground: green
foreground: 'green' type: status
foreground_templates: style: plain
- '{{ if gt .Code 0 }}red{{ end }}' foreground_templates:
properties: - "{{ if gt .Code 0 }}red{{ end }}"
style: austin - properties:
template: ' {{ .FormattedMs }} ' cache_duration: none
- type: session style: austin
style: plain template: " {{ .FormattedMs }} "
foreground: darkGray foreground: green
template: > type: executiontime
{{ if .SSHSession }} {{ .HostName }}{{ end }} style: plain
- type: prompt foreground_templates:
alignment: left - "{{ if gt .Code 0 }}red{{ end }}"
newline: true - properties:
segments: cache_duration: none
- foreground: 'red' template: "{{ if .SSHSession }}\ueba9 {{ .HostName }}{{ end }}"
style: plain foreground: darkGray
template: '!' type: session
type: root style: plain
- foreground: 'green' - type: prompt
style: plain alignment: left
template: segments:
type: text - properties:
cache_duration: none
template: "!"
foreground: red
type: root
style: plain
- properties:
cache_duration: none
template:
foreground: green
type: text
style: plain
newline: true
version: 3
shell_integration: true
final_space: true