Last active
April 28, 2024 21:41
-
-
Save schultzcole/2487a3804287635ca3a85739b7f983d7 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": "#56B6C2", | |
"properties": { | |
"style": "agnoster_short", | |
"max_depth": 4 | |
}, | |
"style": "plain", | |
"template": " {{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"foreground": "#D0666F", | |
"properties": { | |
"branch_icon": "", | |
"fetch_stash_count": true, | |
"fetch_status": true | |
}, | |
"style": "plain", | |
"template": "<#5FAAE8>git:(</>{{ .HEAD }}{{ if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}<#5FAAE8>)</>", | |
"type": "git" | |
}, | |
{ | |
"foreground": "#a3a3a3", | |
"type": "executiontime", | |
"template": " [{{ .FormattedMs }}]" | |
}, | |
{ | |
"properties": { | |
"always_enabled": true | |
}, | |
"style": "plain", | |
"template": " {{ if .Error }}<#BF616A>\u2717</>{{ else }}<#98C379>\u279c</>{{ end }}", | |
"type": "status" | |
} | |
], | |
"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