Skip to content

Instantly share code, notes, and snippets.

@schummbo
Last active May 30, 2025 16:21
Show Gist options
  • Save schummbo/0e2497e742b4e87ad9c33ada61276e37 to your computer and use it in GitHub Desktop.
Save schummbo/0e2497e742b4e87ad9c33ada61276e37 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",
"version": 2,
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\ue0b4",
"foreground": "#fefae0",
"background": "#264653",
"template": " {{ .Path }} ",
"properties": {
"style": "full",
"mapped_locations_enabled": false
}
},
{
"background": "#2a9d8f",
"foreground": "#181d1d",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": " {{ .HEAD }}",
"type": "git"
},
{
"background": "#e9c46a",
"foreground": "#181d1d",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": " {{ .UpstreamIcon }}{{if .BranchStatus }}{{ .BranchStatus }}{{ end }}",
"type": "git"
},
{
"background": "#e76f51",
"foreground": "#181d1d",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": "{{ if .Staging.Changed }} 󱣘 {{ .Staging.String }}{{ end }} ",
"type": "git"
},
{
"background": "#f4a261",
"foreground": "#181d1d",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": "{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ",
"type": "git"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment