Skip to content

Instantly share code, notes, and snippets.

@guysoft
Last active November 14, 2025 19:18
Show Gist options
  • Select an option

  • Save guysoft/592bb6798df02396ad1fc0dbdcdcf8b9 to your computer and use it in GitHub Desktop.

Select an option

Save guysoft/592bb6798df02396ad1fc0dbdcdcf8b9 to your computer and use it in GitHub Desktop.
$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
console_title_template: '{{ .Shell }} in {{ .Folder }}'
blocks:
- type: prompt
alignment: left
segments:
- properties:
cache_duration: none
template:
foreground: '#FF60FF'
type: text
style: plain
- properties:
cache_duration: none
template:
foreground: '#44444d'
type: text
style: plain
- properties:
cache_duration: none
template: '{{ if .SSHSession }}{{ .UserName }}@{{ .HostName }} {{ else }}{{ end
}}'
foreground: '#10B1AE'
background: '#44444d'
type: session
powerline_symbol: ''
- properties:
cache_duration: none
template:
foreground: '#44444d'
background: '#201F26'
type: text
style: plain
- properties:
cache_duration: none
mapped_locations:
Documents: '󰈙 '
Downloads: ' '
Music: ' '
Pictures: ' '
max_depth: 10
style: full
template: ' {{ .Path }} '
foreground: '#FF06B7'
background: '#201F26'
type: path
style: powerline
powerline_symbol: ''
- properties:
branch_icon: ''
cache_duration: none
fetch_status: true
template: ' {{ .HEAD }}'
foreground: '#9580FF'
background: '#2d2c35'
type: git
style: powerline
powerline_symbol:
# - properties:
# cache_duration: none
# fetch_status: true
# template: '{{ if or (.Working.Changed) (.Staging.Changed) }}{{ if .Working.Modified
# }}!{{ end }}{{ if .Working.Untracked }}?{{ end }}{{ if .Staging.Modified }}+{{
# end }}{{ if .Working.Deleted }}✘{{ end }}{{ end }}{{ if and (gt .Ahead 0) (gt
# .Behind 0) }} ⇣{{ .Behind }} ⇡{{ .Ahead }}{{ else if gt .Ahead 0 }} ⇡{{ .Ahead
# }}{{ else if gt .Behind 0 }} ⇣{{ .Behind }}{{ end }} '
# foreground: '#e947b8'
# background: '#2d2c35'
# type: git
# style: powerline
# powerline_symbol: 
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: c
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: elm
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: '  {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#00A4FF'
background: '#2b2b32'
type: go
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: gradle
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: haskell
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: java
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: julia
style: powerline
powerline_symbol:
- properties:
cache_duration: none
display_mode: environment
fetch_virtual_env: true
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ end }}v{{ .Full
}}({{ .Venv }}){{ end }} '
foreground: '#68FFD6'
background: '#2b2b32'
type: python
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' 󰆥 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: nim
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: rust
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template: ' {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} '
foreground: '#C026D3'
background: '#2b2b32'
type: scala
style: powerline
powerline_symbol:
- properties:
always_enabled: true
cache_duration: none
style: austin
threshold: 0
template: '  {{ .FormattedMs }} '
foreground: '#E8FE96'
background: '#44444d'
type: executiontime
style: powerline
powerline_symbol:
- properties:
cache_duration: none
template:
foreground: '#44444d'
type: text
style: powerline
newline: true
- type: prompt
alignment: left
segments:
- properties:
cache_duration: none
template: ╰─
foreground: '#FF60FF'
type: text
style: plain
- properties:
always_enabled: true
cache_duration: none
template: ''
foreground: '#FF60FF'
type: exit
style: plain
foreground_templates:
- '{{ if gt .Code 0 }}#ff0000{{ end }}'
newline: true
tooltips_action: replace
tooltips:
- type: kubectl
tips:
- kubectl
- kube
style: diamond
foreground: '#326CE5'
background: '#2b2b32'
leading_diamond:
trailing_diamond:
template: ' ☸ {{ .Context }} '
version: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment