Created
July 7, 2023 17:53
-
-
Save Pengor/b49a64b92f6fe57ef6cf5df4d86d4103 to your computer and use it in GitHub Desktop.
Oh My Posh theme for PowerShell
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": "#ffee58", | |
"style": "plain", | |
"template": " \uf0e7 ", | |
"type": "root" | |
}, | |
{ | |
"background": "#6b69d6", | |
"foreground": "#ffffff", | |
"style": "powerline", | |
"template": " {{ .UserName }} ", | |
"type": "session" | |
}, | |
{ | |
"background": "#91ddff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"style": "full" | |
}, | |
"style": "powerline", | |
"template": " {{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#95ffa4", | |
"foreground": "#193549", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " {{ .HEAD }} ", | |
"type": "git" | |
}, | |
{ | |
"background": "#906cff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end}} ", | |
"type": "python" | |
}, | |
{ | |
"background": "#ff8080", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue20f ", | |
"type": "exit" | |
} | |
], | |
"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