Compare commits
No commits in common. "adffbeb06f180a957898a8caf08385fa5c921dc4" and "da8259fc9e32fd7fab59f6f7cea6d3f8526498dc" have entirely different histories.
adffbeb06f
...
da8259fc9e
1 changed files with 24 additions and 21 deletions
|
@ -1,4 +1,5 @@
|
||||||
# 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
|
||||||
|
# TODO: add segments I care about.... go python node.... so on?
|
||||||
version: 2
|
version: 2
|
||||||
transient_prompt:
|
transient_prompt:
|
||||||
foreground: cyan
|
foreground: cyan
|
||||||
|
@ -14,12 +15,12 @@ blocks:
|
||||||
foreground: "yellow"
|
foreground: "yellow"
|
||||||
template: " {{ .Full }}"
|
template: " {{ .Full }}"
|
||||||
- type: git
|
- type: git
|
||||||
foreground: magenta
|
foreground: '#F3C267'
|
||||||
# foreground_templates:
|
foreground_templates:
|
||||||
# - '{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}'
|
- '{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}'
|
||||||
# - '{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}'
|
- '{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}'
|
||||||
# - '{{ if gt .Ahead 0 }}#B388FF{{ end }}'
|
- '{{ if gt .Ahead 0 }}#B388FF{{ end }}'
|
||||||
# - '{{ if gt .Behind 0 }}#B388FF{{ end }}'
|
- '{{ if gt .Behind 0 }}#B388FF{{ end }}'
|
||||||
properties:
|
properties:
|
||||||
branch_max_length: 25
|
branch_max_length: 25
|
||||||
fetch_stash_count: true
|
fetch_stash_count: true
|
||||||
|
@ -27,15 +28,21 @@ blocks:
|
||||||
fetch_upstream_icon: true
|
fetch_upstream_icon: true
|
||||||
style: plain
|
style: plain
|
||||||
template: >
|
template: >
|
||||||
{{ .UpstreamIcon }}{{ .HEAD }}{{ if .BranchStatus }}{{ .BranchStatus }}{{ end -}}
|
{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}
|
||||||
{{ if .Working.Changed }} {{ .Working.String }}{{ end -}}
|
{{ if .Working.Changed }} {{ .Working.String }}{{ end }}
|
||||||
{{ if and (.Working.Changed) (.Staging.Changed) }}|{{ end -}}
|
{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}
|
||||||
{{ if .Staging.Changed }} {{ .Staging.String }}{{ end -}}
|
{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}
|
||||||
{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end -}}
|
{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }}
|
||||||
- type: prompt
|
- type: prompt
|
||||||
alignment: left
|
alignment: left
|
||||||
newline: true
|
newline: true
|
||||||
segments:
|
segments:
|
||||||
|
- type: session
|
||||||
|
background: transparent
|
||||||
|
foreground: "#ffffff"
|
||||||
|
style: diamond
|
||||||
|
template: >
|
||||||
|
{{ if .SSHSession }} {{ .UserName}}@{{ .HostName }}{{ end }}
|
||||||
- type: path
|
- type: path
|
||||||
foreground: 'cyan'
|
foreground: 'cyan'
|
||||||
properties:
|
properties:
|
||||||
|
@ -50,20 +57,16 @@ blocks:
|
||||||
foreground: 'green'
|
foreground: 'green'
|
||||||
foreground_templates:
|
foreground_templates:
|
||||||
- '{{ if gt .Code 0 }}red{{ end }}'
|
- '{{ if gt .Code 0 }}red{{ end }}'
|
||||||
template: ' x{{ reason .Code }} '
|
template: ' x{{ reason .Code }}'
|
||||||
- type: executiontime
|
- foreground: 'green'
|
||||||
style: plain
|
|
||||||
foreground: 'green'
|
|
||||||
foreground_templates:
|
foreground_templates:
|
||||||
- '{{ if gt .Code 0 }}red{{ end }}'
|
- '{{ if gt .Code 0 }}red{{ end }}'
|
||||||
properties:
|
properties:
|
||||||
style: austin
|
style: roundrock
|
||||||
|
always_enabled: true
|
||||||
|
style: diamond
|
||||||
template: ' {{ .FormattedMs }} '
|
template: ' {{ .FormattedMs }} '
|
||||||
- type: session
|
type: executiontime
|
||||||
style: plain
|
|
||||||
foreground: darkGray
|
|
||||||
template: >
|
|
||||||
{{ if .SSHSession }} {{ .UserName}}@{{ .HostName }}{{ end }}
|
|
||||||
- type: prompt
|
- type: prompt
|
||||||
alignment: left
|
alignment: left
|
||||||
newline: true
|
newline: true
|
||||||
|
|
Loading…
Reference in a new issue