Last active
January 24, 2024 14:58
-
-
Save mmcguff/e1caab5a764382f0a5483c6dd1e72222 to your computer and use it in GitHub Desktop.
mmcguff.omp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#333333", | |
"foreground": "#ff0000", | |
"leading_diamond": "\ue0b6", | |
"style": "diamond", | |
"template": "{{ .Icon }} {{ .HostName }}", | |
"type": "os" | |
}, | |
{ | |
"background": "#ff0000", | |
"foreground": "#000000", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"folder_icon": "\uf115", | |
"folder_separator_icon": "\\", | |
"home_icon": "\uf7db", | |
"style": "folder" | |
}, | |
"style": "powerline", | |
"template": " \uf07b \uf553 {{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#f9eb78", | |
"foreground": "#111111", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"branch_icon": " \ue0a0 ", | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true | |
}, | |
"style": "powerline", | |
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ", | |
"type": "git" | |
}, | |
{ | |
"foreground": "#ffffff", | |
"background": "#43853D", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", | |
"type": "node" | |
}, | |
{ | |
"type": "gcp", | |
"style": "powerline", | |
"powerline_symbol": "", | |
"foreground": "#ffffff", | |
"background": "#47888d", | |
"template": " {{.Project}} :: {{.Account}} " | |
}, | |
{ | |
"type": "go", | |
"style": "powerline", | |
"powerline_symbol": "", | |
"foreground": "#ffffff", | |
"background": "#7FD5EA", | |
"template": " ﳑ {{ .Full }} " | |
}, | |
// { | |
// "foreground": "#ffffff", | |
// "background": "#F79400", | |
// "powerline_symbol": "\uE0B0", | |
// "properties": { | |
// "display_default": true | |
// }, | |
// "style": "powerline", | |
// "template": " \uE7AD {{.Profile}}{{if .Region}}@{{.Region}}{{end}}", | |
// "type": "aws" | |
// }, | |
// { | |
// "background": "#1B89E2", | |
// "foreground": "#ffffff", | |
// "powerline_symbol": "\uE0B0", | |
// "style": "powerline", | |
// "template": " \uFD31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ", | |
// "type": "kubectl" | |
// }, | |
{ | |
"background": "#333333", | |
"foreground": "#ff0000", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"always_enabled": true | |
}, | |
"style": "powerline", | |
"template": " \ufbab {{ .FormattedMs }} ", | |
"type": "executiontime" | |
}, | |
{ | |
"background": "#2e9599", | |
"background_templates": [ | |
"{{ if gt .Code 0 }}red{{ end }}" | |
], | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"always_enabled": true | |
}, | |
"style": "diamond", | |
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469{{ end }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "exit" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#cd5e42", | |
"style": "plain", | |
"template": "\ue3bf ", | |
"type": "root" | |
}, | |
{ | |
"foreground": "#ff0000", | |
"style": "plain", | |
"template": "<##ff0000><b>\u26a1</b></><b>{{ .UserName }}</b><##ff0000>\u276f</><##ff0000>\u276f</>", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"final_space": true, | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My personally tuned oh my posh configuration.