Created
August 24, 2023 17:31
-
-
Save timheuer/a7c72fa0b25e5ebf0bc9c22dd0476e35 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", | |
"version": 2, | |
"final_space": true, | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#c386f1", | |
"leading_diamond": "\ue0b6", | |
"trailing_diamond": "\ue0b0", | |
"template": " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }}@{{ .HostName }} " | |
}, | |
{ | |
"type": "dotnet", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#000000", | |
"background": "#00ffff", | |
"template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " | |
}, | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#ffffff", | |
"background": "#ff479c", | |
"template": " \ue5ff {{ .Path }} ", | |
"properties": { | |
"style": "folder" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#193549", | |
"background": "#fffb38", | |
"template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ", | |
"properties": { | |
"fetch_stash_count": true, | |
"fetch_upstream_icon": true | |
} | |
}, | |
{ | |
"type": "root", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#ffffff", | |
"background": "#ffff66", | |
"template": " \uf0e7 " | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment