Skip to content

Instantly share code, notes, and snippets.

@michaelsanford
Created December 19, 2025 16:37
Show Gist options
  • Select an option

  • Save michaelsanford/333d06820ec4ccd21c5448a54966ac79 to your computer and use it in GitHub Desktop.

Select an option

Save michaelsanford/333d06820ec4ccd21c5448a54966ac79 to your computer and use it in GitHub Desktop.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"secondary_prompt": {
"template": "❯❯ ",
"foreground": "#16c60c"
},
"transient_prompt": {
"template": "❯ ",
"foreground": "#16c60c"
},
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"leading_diamond": "\ue0b6",
"template": " {{ .HostName }} ",
"foreground": "#cccccc",
"background": "#0c73c2",
"type": "session",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none"
},
"powerline_symbol": "\ue0b0",
"template": " \uf0e7 ADMIN ",
"foreground": "#ffffff",
"background": "#ff0000",
"type": "root",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none",
"folder_separator_icon": " \ue0b1 ",
"style": "full"
},
"template": " \ue5ff {{ .Path }} ",
"foreground": "#cccccc",
"powerline_symbol": "\ue0b0",
"background": "#13a10e",
"type": "path",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": " \ue235 {{ .Name }} ",
"foreground": "#cccccc",
"powerline_symbol": "\ue0b0",
"background": "#4584b6",
"type": "python",
"style": "powerline"
},
{
"properties": {
"branch_max_length": 25,
"cache_duration": "none",
"fetch_status": true,
"fetch_upstream_icon": true
},
"template": " {{ .UpstreamIcon }}{{ .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 }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"background": "#c19c00",
"type": "git",
"style": "powerline",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#c50f1f{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c50f1f{{ end }}",
"{{ if gt .Ahead 0 }}#881798{{ end }}",
"{{ if gt .Behind 0 }}#881798{{ end }}"
]
},
{
"properties": {
"cache_duration": "none",
"display_default": true
},
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"foreground": "#cccccc",
"powerline_symbol": "\ue0b0",
"background": "#c50f1f",
"type": "aws",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none",
"precision": 2
},
"powerline_symbol": "\ue0b0",
"trailing_diamond": "\ue0b4",
"template": " \uf2db {{ round .PhysicalPercentUsed .Precision }}% ",
"foreground": "#cccccc",
"background": "#881798",
"type": "sysinfo",
"style": "diamond"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "❯ ",
"foreground": "#16c60c",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment