Skip to content

Instantly share code, notes, and snippets.

@esatterwhite
Created October 7, 2025 01:04
Show Gist options
  • Select an option

  • Save esatterwhite/957bfe00c988cb146537c13f5bbe8443 to your computer and use it in GitHub Desktop.

Select an option

Save esatterwhite/957bfe00c988cb146537c13f5bbe8443 to your computer and use it in GitHub Desktop.
oh-my-posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none",
"macos": "mac"
},
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"foreground": "#26C6DA",
"type": "os",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": " {{ .UserName }}: ",
"foreground": "#16A085",
"type": "session",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\udb84\udcfe {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
"foreground": "blue",
"powerline_symbol": "\ue0b0",
"type": "kubectl",
"style": "plain"
},
{
"properties": {
"cache_duration": "none",
"root_icon": "\udb80\udedc "
},
"leading_diamond": "<transparent,#ef5350>\uf07b</>",
"trailing_diamond": "\ue0b0",
"template": " \uf0e7 ",
"foreground": "#ffeb95",
"background": "#ef5350",
"type": "root",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"folder_icon": "\ue5ff ",
"folder_separator_icon": " <#3B4A50>\ue0b1</> ",
"home_icon": "\udb80\udedc",
"style": "agnoster_short"
},
"template": " {{ .Path }} ",
"foreground": "#448477",
"type": "path",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uf0193 {{ .StashCount }}{{ end }} ",
"type": "git",
"style": "plain",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#B8C2C6{{ end }}",
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}",
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}"
]
},
{
"properties": {
"cache_duration": "none"
},
"template": "[\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}] ",
"foreground": "#906cff",
"type": "python",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": " \ue7a8 {{ .Full }} ",
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"background": "#99908a",
"type": "rust",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": "[\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ",
"foreground": "#7FD5EA",
"type": "go",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "#76b367",
"powerline_symbol": "\ue0b0",
"background": "#032831",
"type": "node",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": "[\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ",
"foreground": "#f44336",
"type": "ruby",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": "[\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ",
"foreground": "#ea2d2e",
"type": "java",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#4063D8",
"type": "julia",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": "❯ ",
"foreground": "#3B4A50",
"type": "text",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": " \ue20f ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"background": "#ff8080",
"type": "exit",
"style": "powerline"
}
]
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment