I don't know why this changed
This commit is contained in:
parent
3edbf2d9c2
commit
36753a827e
1 changed files with 104 additions and 93 deletions
|
@ -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
|
||||||
|
template: "\ue235 {{ .Full }} "
|
||||||
|
foreground: yellow
|
||||||
|
type: python
|
||||||
style: plain
|
style: plain
|
||||||
foreground: "yellow"
|
- properties:
|
||||||
template: " {{ .Full }} "
|
cache_duration: none
|
||||||
- type: go
|
template: "\ue627 {{ .Full }} "
|
||||||
|
foreground: cyan
|
||||||
|
type: go
|
||||||
style: plain
|
style: plain
|
||||||
foreground: "cyan"
|
- properties:
|
||||||
template: " {{ .Full }} "
|
cache_duration: none
|
||||||
- type: rust
|
template: "\ue7a8 {{ .Full }} "
|
||||||
|
foreground: red
|
||||||
|
type: rust
|
||||||
style: plain
|
style: plain
|
||||||
foreground: "red"
|
- properties:
|
||||||
template: " {{ .Full }} "
|
cache_duration: none
|
||||||
- type: node
|
template: "\ue718 {{ .Full }} "
|
||||||
|
foreground: p:sky
|
||||||
|
type: node
|
||||||
style: plain
|
style: plain
|
||||||
foreground: "p:sky"
|
- properties:
|
||||||
template: " {{ .Full }} "
|
cache_duration: none
|
||||||
- type: project
|
template: "{{ if .Error }} {{ .Error }}{{ else -}} {{ if .Version }}\uf487 {{.Version}}{{ end -}} {{ if .Name }} {{ .Name }} {{ end }}{{ end -}}"
|
||||||
|
foreground: p:rosewater
|
||||||
|
type: project
|
||||||
style: plain
|
style: plain
|
||||||
foreground: "p:rosewater"
|
- properties:
|
||||||
template: >
|
|
||||||
{{ if .Error }} {{ .Error }}{{ else -}}
|
|
||||||
{{ if .Version }} {{.Version}}{{ end -}}
|
|
||||||
{{ if .Name }} {{ .Name }} {{ end }}{{ end -}}
|
|
||||||
- type: git
|
|
||||||
foreground: magenta
|
|
||||||
properties:
|
|
||||||
branch_max_length: 25
|
branch_max_length: 25
|
||||||
|
cache_duration: none
|
||||||
fetch_stash_count: true
|
fetch_stash_count: true
|
||||||
fetch_status: true
|
fetch_status: true
|
||||||
fetch_upstream_icon: true
|
fetch_upstream_icon: true
|
||||||
|
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 -}}"
|
||||||
|
foreground: magenta
|
||||||
|
type: git
|
||||||
style: plain
|
style: plain
|
||||||
template: >
|
- type: prompt
|
||||||
{{ .UpstreamIcon }}{{ .HEAD }}{{ if .BranchStatus }} {{ .BranchStatus }}{{ end -}}
|
|
||||||
{{ if .Working.Changed }} {{ .Working.String }}{{ end -}}
|
|
||||||
{{ if .Staging.Changed }} {{ .Staging.String }}{{ end -}}
|
|
||||||
{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end -}}
|
|
||||||
- type: prompt
|
|
||||||
alignment: left
|
alignment: left
|
||||||
newline: true
|
|
||||||
segments:
|
segments:
|
||||||
- type: path
|
- properties:
|
||||||
style: plain
|
cache_duration: none
|
||||||
foreground: 'cyan'
|
|
||||||
properties:
|
|
||||||
style: unique
|
style: unique
|
||||||
template: {{ .Path }}
|
template: {{ .Path }}
|
||||||
- type: prompt
|
foreground: cyan
|
||||||
|
type: path
|
||||||
|
style: plain
|
||||||
|
newline: true
|
||||||
|
- type: prompt
|
||||||
alignment: right
|
alignment: right
|
||||||
segments:
|
segments:
|
||||||
- type: status
|
- properties:
|
||||||
|
cache_duration: none
|
||||||
|
template: " x{{ reason .Code }} "
|
||||||
|
foreground: green
|
||||||
|
type: status
|
||||||
style: plain
|
style: plain
|
||||||
foreground: 'green'
|
|
||||||
foreground_templates:
|
foreground_templates:
|
||||||
- '{{ if gt .Code 0 }}red{{ end }}'
|
- "{{ if gt .Code 0 }}red{{ end }}"
|
||||||
template: ' x{{ reason .Code }} '
|
- properties:
|
||||||
- type: executiontime
|
cache_duration: none
|
||||||
style: plain
|
|
||||||
foreground: 'green'
|
|
||||||
foreground_templates:
|
|
||||||
- '{{ if gt .Code 0 }}red{{ end }}'
|
|
||||||
properties:
|
|
||||||
style: austin
|
style: austin
|
||||||
template: ' {{ .FormattedMs }} '
|
template: " {{ .FormattedMs }} "
|
||||||
- type: session
|
foreground: green
|
||||||
|
type: executiontime
|
||||||
style: plain
|
style: plain
|
||||||
|
foreground_templates:
|
||||||
|
- "{{ if gt .Code 0 }}red{{ end }}"
|
||||||
|
- properties:
|
||||||
|
cache_duration: none
|
||||||
|
template: "{{ if .SSHSession }}\ueba9 {{ .HostName }}{{ end }}"
|
||||||
foreground: darkGray
|
foreground: darkGray
|
||||||
template: >
|
type: session
|
||||||
{{ if .SSHSession }} {{ .HostName }}{{ end }}
|
style: plain
|
||||||
- type: prompt
|
- type: prompt
|
||||||
alignment: left
|
alignment: left
|
||||||
newline: true
|
|
||||||
segments:
|
segments:
|
||||||
- foreground: 'red'
|
- properties:
|
||||||
style: plain
|
cache_duration: none
|
||||||
template: '!'
|
template: "!"
|
||||||
|
foreground: red
|
||||||
type: root
|
type: root
|
||||||
- foreground: 'green'
|
|
||||||
style: plain
|
style: plain
|
||||||
|
- properties:
|
||||||
|
cache_duration: none
|
||||||
template: ❯
|
template: ❯
|
||||||
|
foreground: green
|
||||||
type: text
|
type: text
|
||||||
|
style: plain
|
||||||
|
newline: true
|
||||||
|
version: 3
|
||||||
|
shell_integration: true
|
||||||
|
final_space: true
|
||||||
|
|
Loading…
Reference in a new issue