Skip to content

Instantly share code, notes, and snippets.

@yzraeu
Created December 3, 2025 17:09
Show Gist options
  • Select an option

  • Save yzraeu/186ab8340cb5e1dfdeaaa591401ebb10 to your computer and use it in GitHub Desktop.

Select an option

Save yzraeu/186ab8340cb5e1dfdeaaa591401ebb10 to your computer and use it in GitHub Desktop.
Izzy 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"
},
"template": " <#ffffff>in</> ",
"foreground": "#E06C75",
"type": "root",
"style": "plain"
},
{
"type": "time",
"style": "plain",
"foreground": "#007ACC",
"properties": {
"time_format": "15:04:05.000"
}
},
{
"properties": {
"cache_duration": "none",
"style": "agnoster_full",
"mapped_locations": {
"C:\\git\\": ""
}
},
"template": "{{ if eq (base .Path) \"Docker\" }}{{ dir .Path }}🐳 {{ else }}{{ .Path }} {{ end }}",
"foreground": "#55B9C4",
"type": "path",
"style": "plain"
},
{
"properties": {
"cache_duration": "none",
"fetch_status": true,
"fetch_upstream_icon": true,
"untracked_modes": {
"/Users/user/Projects/oh-my-posh/": "no"
},
"source": "cli",
"mapped_branches": {
"users/irodriguez/*": " ",
"bug/*": "🐛 "
}
},
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FB{{ end }}"
],
"template": "<#ffffff>on</> {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
"foreground": "#C678DD",
"type": "git",
"style": "plain"
},
{
"properties": {
"cache_duration": "none",
"fetch_version": true
},
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "#98C379",
"type": "node",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "x ",
"foreground": "#C94A16",
"type": "status",
"style": "plain"
},
{
"type": "az",
"style": "powerline",
"foreground": "#000000",
"background": "#9ec3f0",
"template": "  {{ .EnvironmentName }}",
"properties": {
"source": "pwsh"
}
},
{
"type": "dotnet",
"style": "powerline",
"foreground": "#00ffff",
"template": "  {{ .Full }} "
},
{
"type": "spotify",
"style": "powerline",
"foreground": "#1BD760",
"properties": {
"playing_icon": "▶️",
"paused_icon": "⏸️",
"stopped_icon": "⏹️"
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "owm",
"style": "plain",
"foreground": "#ffffff",
"background": "#FF0000",
"template": "{{.Weather}} ({{.Temperature}}{{.UnitIcon}})",
"properties": {
"api_key": "f644afb287e3273ac9090b2b032c672a",
"location": "Calgary, CA",
"units": "metric",
"enable_hyperlink": true,
"http_timeout": 3000,
"cache_timeout": 10
}
},
{
"type": "executiontime",
"style": "accordion",
"foreground": "#8800dd",
"template": " {{ .FormattedMs }} ",
"properties": {
"threshold": 500,
"style": "austin",
"always_enabled": true
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "➜ ",
"foreground": "#63F08C",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment