Created
February 6, 2023 09:19
-
-
Save ProgramRipper/41ddb3ec1a82a743f2162122a0ac1850 to your computer and use it in GitHub Desktop.
This file contains hidden or 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": "#ff479c", | |
| "properties": { | |
| "folder_separator_icon": "/", | |
| "home_icon": "~", | |
| "style": "full" | |
| }, | |
| "style": "plain", | |
| "template": "\uf74a {{ .Path }} ", | |
| "type": "path" | |
| }, | |
| { | |
| "foreground_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}", | |
| "{{ if gt .Ahead 0 }}#B388FF{{ end }}", | |
| "{{ if gt .Behind 0 }}#B388FF{{ end }}" | |
| ], | |
| "foreground": "#fffb38", | |
| "properties": { | |
| "branch_max_length": 25, | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| }, | |
| "style": "plain", | |
| "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ", | |
| "type": "git" | |
| }, | |
| { | |
| "foreground": "#6CA35E", | |
| "properties": { | |
| "fetch_version": true | |
| }, | |
| "style": "plain", | |
| "template": "\uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", | |
| "type": "node" | |
| }, | |
| { | |
| "foreground": "#8ED1F7", | |
| "properties": { | |
| "fetch_version": true | |
| }, | |
| "style": "plain", | |
| "template": "\ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "go" | |
| }, | |
| { | |
| "foreground": "#4063D8", | |
| "properties": { | |
| "fetch_version": true | |
| }, | |
| "style": "plain", | |
| "template": "\ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "julia" | |
| }, | |
| { | |
| "foreground": "#FFDE57", | |
| "properties": { | |
| "display_mode": "files", | |
| "fetch_virtual_env": false | |
| }, | |
| "style": "plain", | |
| "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "python" | |
| }, | |
| { | |
| "foreground": "#AE1401", | |
| "properties": { | |
| "display_mode": "files", | |
| "fetch_version": true | |
| }, | |
| "style": "plain", | |
| "template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "ruby" | |
| }, | |
| { | |
| "foreground": "#FEAC19", | |
| "properties": { | |
| "display_mode": "files", | |
| "fetch_version": false | |
| }, | |
| "style": "plain", | |
| "template": "\uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "azfunc" | |
| }, | |
| { | |
| "foreground_templates": [ | |
| "{{if contains \"default\" .Profile}}#FFA400{{end}}", | |
| "{{if contains \"jan\" .Profile}}#f1184c{{end}}" | |
| ], | |
| "properties": { | |
| "display_default": false | |
| }, | |
| "style": "plain", | |
| "template": "\ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ", | |
| "type": "aws" | |
| }, | |
| { | |
| "foreground": "#ffff66", | |
| "style": "plain", | |
| "template": "\uf0ad ", | |
| "type": "root" | |
| }, | |
| { | |
| "foreground": "#83769c", | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "plain", | |
| "template": "\ufbab{{ .FormattedMs }}\u2800", | |
| "type": "executiontime" | |
| }, | |
| { | |
| "foreground": "#2e9599", | |
| "style": "plain", | |
| "template": "{{ .CurrentDate | date .Format }} ", | |
| "type": "time" | |
| }, | |
| { | |
| "foreground_templates": [ | |
| "{{ if gt .Code 0 }}#e91e63{{ end }}" | |
| ], | |
| "foreground": "#00897b", | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "plain", | |
| "template": "{{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} ", | |
| "type": "exit" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "#ff479c", | |
| "style": "plain", | |
| "template": "\u276f ", | |
| "type": "text" | |
| } | |
| ], | |
| "type": "prompt" | |
| } | |
| ], | |
| "console_title_template": "{{ .UserName }} in {{ .Folder }}", | |
| "version": 2 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment