Skip to content

Instantly share code, notes, and snippets.

@flcdrg
Last active June 4, 2026 04:59
Show Gist options
  • Select an option

  • Save flcdrg/c84f4903d475ca643f0f46b074ba3a3c to your computer and use it in GitHub Desktop.

Select an option

Save flcdrg/c84f4903d475ca643f0f46b074ba3a3c 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": 3,
"console_title_template": "{{if .Root}}[Admin]{{end}}{{ if gt (len .PWD) 25 }}{{trunc -25 .PWD}}{{else}}{{.PWD}}{{end}}",
"shell_integration": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "powerline",
"foreground": "#ffffff",
"background": "#fa3b3b",
"powerline_symbol": "\ue0b0",
"options": {
"cache_duration": "none"
}
},
{
"type": "path",
"style": "powerline",
"foreground": "#ffffff",
"background": "#ff479c",
"powerline_symbol": "\ue0b0",
"options": {
"cache_duration": "none",
"style": "folder"
}
},
{
"type": "git",
"style": "powerline",
"foreground": "#193549",
"background": "#fffb38",
"powerline_symbol": "\ue0b0",
"options": {
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"source": "pwsh"
}
},
{
"type": "dotnet",
"style": "powerline",
"foreground": "#ffffff",
"background": "#6CA35E",
"template": "\ue648 {{ .Full }}",
"powerline_symbol": "\ue0b0",
"options": {
"cache_duration": "none",
"fetch_version": true
}
},
{
"type": "node",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "#ffffff",
"background": "#8800dd"
},
{
"type": "pnpm",
"style": "powerline",
"foreground": "#000000",
"background": "#F9AD00",
"template": "\ue865 {{ .Full }} ",
"powerline_symbol": "\ue0b0"
},
{
"type": "terraform",
"style": "powerline",
"foreground": "#000000",
"background": "#ebcc34",
"template": "{{ if .Version }}\ue8bd {{ .Version }}{{ end }}",
"powerline_symbol": "\ue0b0",
"options": {
"fetch_version": true
}
},
{
"type": "status",
"style": "powerline",
"foreground": "#ffffff",
"background": "#ff8080",
"powerline_symbol": "\ue0b0",
"options": {
"cache_duration": "none"
}
},
{
"type": "executiontime",
"style": "powerline",
"foreground": "#ffffff",
"background": "#8800dd",
"template": " <#fefefe>\ueba2</> {{ .FormattedMs }} ",
"powerline_symbol": "\ue0b0",
"options": {
"threshold": 500,
"style": "austin",
"always_enabled": true
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#007ACC",
"template": "\u2570\u2500",
"options": {
"cache_duration": "none"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment