Skip to content

Instantly share code, notes, and snippets.

@SvenAelterman
Last active April 2, 2026 13:35
Show Gist options
  • Select an option

  • Save SvenAelterman/b8b39956763a148e24c2ec69f4b42ead to your computer and use it in GitHub Desktop.

Select an option

Save SvenAelterman/b8b39956763a148e24c2ec69f4b42ead to your computer and use it in GitHub Desktop.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"az-cli-back": "#4CB4FF",
"black": "#262B44",
"blue": "#4B95E9",
"git-back-default": "#fffb38",
"git-fore": "#193549",
"green": "#59C9A5",
"node-back": "#6CA35E",
"orange": "#F07623",
"path-back": "#0CAA00",
"red": "#D81E5B",
"root-back": "#ffff66",
"status-error": "#f1184c",
"status-ok": "#2e9599",
"user_host-back": "#0077c2",
"white": "#E0DEF4",
"yellow": "#F3AE35"
},
"transient_prompt": {
"template": "<p:yellow,transparent>\ue0b6</><,p:yellow> {{ .Folder }} - {{now | date \"15:04:05\"}} </><p:yellow,transparent>\ue0b0</> ",
"foreground": "p:black",
"background": "transparent"
},
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"display_host": true
},
"style": "diamond",
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b0",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}{{ if ne .HostName \"svaelter-sls2\" }}@{{ .HostName }}{{ end }} ",
"foreground": "p:white",
"background": "p:user_host-back",
"type": "session"
},
{
"style": "plain",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os"
},
{
"type": "upgrade",
"style": "plain",
"foreground": "#111111",
"background": "#FFD664",
"options": {
"cache_duration": "48h"
}
},
{
"type": "winget",
"style": "powerline",
"powerline_symbol": "",
"foreground": "p:white",
"background": "#0077c2",
"template": "  {{ .UpdateCount }} "
},
{
"properties": {
"folder_separator_icon": " \ue0b1 ",
"home_icon": "\uf015",
"mapped_locations": {
"C:/Users/user_name/source": "\uf015 \ue0b1 \ueac4",
"C:/Users/user_name/source/repos": "\uf015 \ue0b1 \ueac4 \ue0b1 \uea63"
},
"style": "letter"
},
"style": "powerline",
"template": " {{ path .Path .Location }} ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:path-back",
"type": "path"
},
{
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .UpstreamIcon }} {{ substr 0 13 .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \ueb4b {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
"foreground": "p:git-fore",
"powerline_symbol": "\ue0b0",
"background": "p:git-back-default",
"type": "git",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#f17c37{{ end }}",
"{{ if gt .Behind 0 }}#89d1dc{{ end }}"
]
},
{
"properties": {
"fetch_version": true
},
"style": "powerline",
"template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:node-back",
"type": "node"
},
{
"properties": {
"fetch_version": true
},
"style": "powerline",
"template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#111111",
"powerline_symbol": "\ue0b0",
"background": "#8ED1F7",
"type": "go"
},
{
"properties": {
"fetch_version": true
},
"style": "powerline",
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#111111",
"powerline_symbol": "\ue0b0",
"background": "#4063D8",
"type": "julia"
},
{
"properties": {
"display_mode": "files",
"fetch_version": true,
"fetch_virtual_env": false
},
"style": "powerline",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"foreground": "#111111",
"powerline_symbol": "\ue0b0",
"background": "#FFDE57",
"type": "python"
},
{
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "powerline",
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"background": "#AE1401",
"type": "ruby"
},
{
"properties": {
"display_mode": "files",
"fetch_version": false
},
"style": "powerline",
"template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"background": "#FEAC19",
"type": "azfunc"
},
{
"properties": {
"display_id": false,
"display_name": true,
"info_separator": "@",
"source": "pwsh"
},
"style": "powerline",
"template": " \uebd8 {{ if ne .ID .Segments.azcli.ID }} {{ .Origin }}:{{ end }}{{ .Name }} ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "#FEAC19",
"type": "az",
"alias": "azpwsh"
},
{
"properties": {
"display_id": false,
"display_name": true,
"info_separator": "@",
"source": "cli"
},
"style": "powerline",
"template": " \uebd8 {{ if ne .ID .Segments.azpwsh.ID }} {{ .Origin }}:{{ .Name }}{{ end }} ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:az-cli-back",
"type": "az",
"alias": "azcli"
},
{
"properties": {
"display_default": false
},
"style": "powerline",
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"type": "aws",
"background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}"
]
},
{
"style": "powerline",
"template": " \uf0e7 ",
"foreground": "p:red",
"powerline_symbol": "\ue0b0",
"background": "p:root-back",
"type": "root"
},
{
"properties": {
"always_enabled": true
},
"style": "diamond",
"trailing_diamond": "\ue0b4",
"template": " \ue23a {{ if gt .Code 0 }}\uf00d{{ else }}\uf42e{{ end }}",
"foreground": "p:white",
"background": "p:status-ok",
"type": "status",
"background_templates": ["{{ if gt .Code 0 }}p:status-error{{ end }}"]
}
]
},
{
"type": "rprompt",
"segments": [
{
"style": "diamond",
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b4",
"template": "{{ .CurrentDate | date .Format }}",
"foreground": "p:white",
"background": "p:blue",
"type": "time"
}
]
}
],
"version": 3,
"final_space": true,
"pwd": "OSC99"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment