Created
March 28, 2023 11:58
-
-
Save Aries0d0f/6147612a7fa63a8e2ba53afc274d1608 to your computer and use it in GitHub Desktop.
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": [ | |
{ | |
"foreground": "#b2bec3", | |
"style": "plain", | |
"template": "\u256d\u2500", | |
"type": "session" | |
}, | |
{ | |
"foreground": "#b2bec3", | |
"style": "plain", | |
"template": " {{ .Icon }} ", | |
"type": "os" | |
}, | |
{ | |
"style": "plain", | |
"template": "<yellow>{{ .UserName }}</yellow><cyan>@</><green>{{ .HostName }}</green>", | |
"type": "session" | |
}, | |
{ | |
"foreground": "blue", | |
"properties": { | |
"folder_icon": "\uf115", | |
"style": "agnoster_full" | |
}, | |
"style": "plain", | |
"template": " <b>{{ .Path }}</b> ", | |
"type": "path" | |
}, | |
{ | |
"foreground": "#ffffff", | |
"properties": { | |
"cherry_pick_icon": "\u2713 ", | |
"commit_icon": "\u25b7 ", | |
"fetch_status": true, | |
"fetch_stash_count": true, | |
"merge_icon": "\u25f4 ", | |
"no_commits_icon": "[no commits]", | |
"rebase_icon": "\u2c62 ", | |
"tag_icon": "\u25b6 ", | |
"branch_icon": "\ue725 " | |
}, | |
"style": "plain", | |
"template": "{{ .HEAD }}<magenta>{{ if gt .Ahead 0 }} \u2191{{.Ahead}}{{end}}{{ if gt .Behind 0 }} \u2193{{.Behind}}{{end}}</magenta> {{ if .Working.Changed }}<yellow><b>*</b> (</yellow><green>+{{ .Working.Added }}</green> <blue>~{{ .Working.Modified }}</blue> <red>-{{ .Working.Deleted }}</red><yellow>)</yellow> {{ end }}{{ if gt .StashCount 0 }}<magenta>\uF692 {{ .StashCount }}</magenta>{{ end }}", | |
"type": "git" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "right", | |
"segments": [ | |
{ | |
"foreground": "#3C873A", | |
"properties": { | |
"fetch_package_manager": true, | |
"npm_icon": " <#cc3a3a>\ue5fa</> ", | |
"yarn_icon": " <#348cba>\uf61a</>" | |
}, | |
"style": "plain", | |
"template": " [\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}] ", | |
"type": "node" | |
}, | |
{ | |
"foreground": "#FFE873", | |
"style": "plain", | |
"template": " [\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}] ", | |
"type": "python" | |
}, | |
{ | |
"foreground": "#ec2729", | |
"style": "plain", | |
"template": " [\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "java" | |
}, | |
{ | |
"foreground": "#0d6da8", | |
"style": "plain", | |
"template": " [\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "dotnet" | |
}, | |
{ | |
"foreground": "#06aad5", | |
"style": "plain", | |
"template": " [\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "go" | |
}, | |
{ | |
"foreground": "#925837", | |
"style": "plain", | |
"template": " [\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "rust" | |
}, | |
{ | |
"foreground": "#055b9c", | |
"style": "plain", | |
"template": " [\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "dart" | |
}, | |
{ | |
"foreground": "#ce092f", | |
"style": "plain", | |
"template": " [\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "angular" | |
}, | |
{ | |
"foreground": "#ffffff", | |
"style": "plain", | |
"template": " [{{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }}] ", | |
"type": "nx" | |
}, | |
{ | |
"foreground": "#359a25", | |
"style": "plain", | |
"template": " [<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "julia" | |
}, | |
{ | |
"foreground": "#9c1006", | |
"style": "plain", | |
"template": " [\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "ruby" | |
}, | |
{ | |
"foreground": "#5398c2", | |
"style": "plain", | |
"template": " [\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "azfunc" | |
}, | |
{ | |
"foreground": "#faa029", | |
"style": "plain", | |
"template": " [\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}] ", | |
"type": "aws" | |
}, | |
{ | |
"foreground": "#316ce4", | |
"style": "plain", | |
"template": " [\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}] ", | |
"type": "kubectl" | |
}, | |
{ | |
"background": "#f36943", | |
"background_templates": [ | |
"{{if eq \"Charging\" .State.String}}#b8e994{{end}}", | |
"{{if eq \"Discharging\" .State.String}}#fff34e{{end}}", | |
"{{if eq \"Full\" .State.String}}#33DD2D{{end}}" | |
], | |
"foreground": "#262626", | |
"invert_powerline": true, | |
"leading_plain": "\ue0b2", | |
"properties": { | |
"charged_icon": "\uf58e ", | |
"charging_icon": "\uf1e6 ", | |
"discharging_icon": "\ue234 " | |
}, | |
"style": "plain", | |
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2</>", | |
"type": "battery" | |
}, | |
{ | |
"foreground": "darkGray", | |
"properties": { | |
"time_format": "2006/01/02 15:04:05" | |
}, | |
"style": "plain", | |
"template": " ⏲ {{ .CurrentDate | date .Format }} ", | |
"type": "time" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#b2bec3", | |
"style": "plain", | |
"template": "\u2570\u2500", | |
"type": "text" | |
}, | |
{ | |
"foreground": "#b2bec3", | |
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"], | |
"properties": { | |
"always_enabled": true | |
}, | |
"style": "plain", | |
"template": "\ue602 ", | |
"type": "exit" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment