Created
November 7, 2022 03:02
-
-
Save peterneave/ea12ec2d8bdfa958896c82df93a63907 to your computer and use it in GitHub Desktop.
oh-my-posh theme
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
{ | |
"blocks": [{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [{ | |
"type": "session", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#c386f1", | |
"leading_diamond": "", | |
"trailing_diamond": "\uE0B0", | |
"properties": { | |
"template": "{{ .UserName }}" | |
} | |
}, | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#ff479c", | |
"properties": { | |
"prefix": " ", | |
"home_icon": "~", | |
"folder_separator_icon": " \uE0b1 ", | |
"style": "folder" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#193549", | |
"background": "#fffb38", | |
"background_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 }}" | |
], | |
"leading_diamond": "", | |
"trailing_diamond": "", | |
"properties": { | |
"fetch_status": true, | |
"fetch_stash_count": true, | |
"fetch_upstream_icon": true, | |
"branch_max_length": 25, | |
"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": "envvar", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#0077c2", | |
"properties": { | |
"var_name": "ROPPStack" | |
} | |
}, | |
{ | |
"type": "node", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#6CA35E", | |
"properties": { | |
"prefix": " \uF898 ", | |
"display_version": true | |
} | |
}, | |
{ | |
"type": "go", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#111111", | |
"background": "#8ED1F7", | |
"properties": { | |
"prefix": " \uE626 ", | |
"display_version": true | |
} | |
}, | |
{ | |
"type": "julia", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#111111", | |
"background": "#4063D8", | |
"properties": { | |
"prefix": " \uE624 ", | |
"display_version": true | |
} | |
}, | |
{ | |
"type": "python", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#111111", | |
"background": "#FFDE57", | |
"properties": { | |
"prefix": " \uE235 ", | |
"display_mode": "files", | |
"fetch_virtual_env": false, | |
"template": "{{ .Full }}" | |
} | |
}, | |
{ | |
"type": "ruby", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#AE1401", | |
"properties": { | |
"prefix": " \uE791 ", | |
"display_version": true, | |
"display_mode": "files" | |
} | |
}, | |
{ | |
"type": "azfunc", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#FEAC19", | |
"properties": { | |
"prefix": " \uf0e7", | |
"display_version": false, | |
"display_mode": "files" | |
} | |
}, | |
{ | |
"type": "aws", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background_templates": [ | |
"{{if contains \"default\" .Profile}}#FFA400{{end}}", | |
"{{if contains \"jan\" .Profile}}#f1184c{{end}}" | |
], | |
"properties": { | |
"prefix": " \uE7AD ", | |
"display_default": false | |
} | |
}, | |
{ | |
"type": "root", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#111111", | |
"background": "#ffff66", | |
"properties": { | |
"root_icon": "" | |
} | |
}, | |
{ | |
"type": "executiontime", | |
"style": "plain", | |
"foreground": "#ffffff", | |
"background": "#83769c", | |
"leading_diamond": "", | |
"trailing_diamond": "", | |
"properties": { | |
"always_enabled": true, | |
"prefix": "<transparent>\uE0B0</> \ufbab", | |
"postfix": "\u2800" | |
} | |
}, | |
{ | |
"type": "exit", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#00897b", | |
"background_templates": ["{{ if gt .Code 0 }}#e91e63{{ end }}"], | |
"leading_diamond": "", | |
"trailing_diamond": "\uE0B4", | |
"properties": { | |
"always_enabled": true, | |
"template": "\uE23A", | |
"prefix": "<parentBackground>\uE0B0</> " | |
} | |
} | |
] | |
}], | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "template", | |
"console_title_template": "{{ .Shell }} in {{ .Folder }}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment