Last active
August 5, 2022 17:08
-
-
Save cdhunt/495992d213745081ee193e1dc3a22965 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
{ | |
"console_title": true, | |
"blocks": [ | |
{ | |
"type": "newline" | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#F48024", | |
"leading_diamond": "\uE0B6", | |
"trailing_diamond": "\uE0B0", | |
"properties": { | |
"display_user": false | |
} | |
}, | |
{ | |
"type": "root", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#111111", | |
"background": "#DAB941", | |
"properties": { | |
"root_icon": "\uF0E7" | |
} | |
}, | |
{ | |
"type": "os", | |
"style": "plain", | |
"foreground": "#26C6DA", | |
"properties": { | |
"postfix": " \uE0B1", | |
"macos": "\uF179", | |
"windows": "\uE70F" | |
} | |
}, | |
{ | |
"type": "shell", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#0077c2", | |
"properties": { | |
"prefix": " \uFCB5 " | |
} | |
}, | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#3CA4FF", | |
"properties": { | |
"style": "agnoster", | |
"home_icon": "\uF015" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "", | |
"foreground": "#193549", | |
"background": "#ffeb3b", | |
"properties": { | |
"branch_icon": "", | |
"branch_identical_icon": "≡", | |
"branch_ahead_icon": "↑", | |
"branch_behind_icon": "↓", | |
"local_working_icon": "", | |
"local_staged_icon": "", | |
"rebase_icon": " ", | |
"cherry_pick_icon": " ", | |
"commit_icon": " ", | |
"tag_icon": "笠 ", | |
"display_stash_count": true, | |
"stash_count_icon": " ", | |
"merge_icon": " ", | |
"display_upstream_icon": true, | |
"github_icon": " ", | |
"bitbucket_icon": " ", | |
"gitlab_icon": " ", | |
"git_icon": " " | |
} | |
}, | |
{ | |
"type": "exit", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#5A9E6F", | |
"leading_diamond": "", | |
"trailing_diamond": "\uE0B4", | |
"properties": { | |
"display_exit_code": false, | |
"always_enabled": true, | |
"error_color": "#C4524F", | |
"color_background": true, | |
"prefix": "<#193549>\uE0B0</> \uF155\uF128" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "newline" | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "text", | |
"style": "diamond", | |
"leading_diamond": "\uE0B6", | |
"trailing_diamond": "\uE0B0", | |
"foreground": "#F48024", | |
"background": "#3E4A52", | |
"properties": { | |
"prefix": "", | |
"text": "" | |
} | |
} | |
] | |
} | |
] | |
} |
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": [ | |
{ | |
"type": "newline" | |
}, | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#DAB941", | |
"foreground": "#111111", | |
"leading_diamond": "\ue0b6", | |
"properties": { | |
"root_icon": "\uf0e7", | |
"template": " \uf0e7 " | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\ue0b0", | |
"type": "root" | |
}, | |
{ | |
"foreground": "#26C6DA", | |
"properties": { | |
"macos": "\uf179", | |
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1", | |
"windows": "\ue70f" | |
}, | |
"style": "plain", | |
"type": "os" | |
}, | |
{ | |
"foreground": "#0077c2", | |
"properties": { | |
"template": " \ufcb5 {{ .Name }} \ue0b1" | |
}, | |
"style": "powerline", | |
"type": "shell" | |
}, | |
{ | |
"foreground": "#F8B682", | |
"properties": { | |
"home_icon": "\uf015", | |
"style": "mixed", | |
"template": " \uf07c {{ .Path }} \ue0b1" | |
}, | |
"style": "plain", | |
"type": "path" | |
}, | |
{ | |
"foreground": "#ffeb3b", | |
"properties": { | |
"bitbucket_icon": "\ue703 ", | |
"branch_ahead_icon": "\u2191", | |
"branch_behind_icon": "\u2193", | |
"branch_icon": "\ue0a0", | |
"branch_identical_icon": "\u2261", | |
"cherry_pick_icon": "\uf046 ", | |
"commit_icon": "\uf839 ", | |
"fetch_stash_count": true, | |
"fetch_upstream_icon": true, | |
"git_icon": "\ue702 ", | |
"github_icon": "\ue709 ", | |
"gitlab_icon": "\uf296 ", | |
"merge_icon": "\ue726 ", | |
"rebase_icon": "\uf046 ", | |
"tag_icon": "\uf9f8 ", | |
"template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }}\uf044{{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}\uf046{{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}}\uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} \ue0b1" | |
}, | |
"style": "plain", | |
"type": "git" | |
}, | |
{ | |
"foreground": "#81C4F8", | |
"properties": { | |
"display_id": false, | |
"display_name": true, | |
"info_separator": " @ ", | |
"template": " \ufd03 {{ .Name }} \ue0b1" | |
}, | |
"style": "plain", | |
"type": "az" | |
}, | |
{ | |
"foreground": "#5A9E6F", | |
"foreground_templates": [ | |
"{{ if gt .Code 0 }}#C4524F{{ end }}" | |
], | |
"leading_diamond": " ", | |
"properties": { | |
"always_enabled": true, | |
"template": " \uf155\uf128{{ if gt .Code 0 }}\uf00d{{ else }}\uf42e{{ end }} " | |
}, | |
"style": "plain", | |
"trailing_diamond": "\ue0b4", | |
"type": "exit" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"type": "newline" | |
}, | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"foreground": "#F48024", | |
"properties": { | |
"template": " \uf16c \ue0b1" | |
}, | |
"style": "diamond", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"console_title": true, | |
"final_space": true, | |
"version": 1 | |
} |
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
{ | |
"console_title": true, | |
"blocks": [ | |
{ | |
"type": "newline" | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#F48024", | |
"leading_diamond": "\uE0B6", | |
"trailing_diamond": "\uE0B0", | |
"properties": { | |
"display_user": false | |
} | |
}, | |
{ | |
"type": "root", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#111111", | |
"background": "#DAB941", | |
"properties": { | |
"root_icon": "\uF0E7" | |
} | |
}, | |
{ | |
"type": "os", | |
"style": "plain", | |
"foreground": "#26C6DA", | |
"properties": { | |
"postfix": " \uE0B1", | |
"macos": "\uF179", | |
"windows": "\uE70F" | |
} | |
}, | |
{ | |
"type": "shell", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#0077c2", | |
"properties": { | |
"prefix": " \uFCB5 " | |
} | |
}, | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#3CA4FF", | |
"properties": { | |
"style": "agnoster", | |
"home_icon": "\uF015" | |
} | |
}, | |
{ | |
"type": "az", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#000000", | |
"background": "#9ec3f0", | |
"properties": { | |
"display_id": false, | |
"display_name": true, | |
"info_separator": " @ ", | |
"prefix": " \uFD03 " | |
} | |
}, | |
{ | |
"type": "kubectl", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#000000", | |
"background": "#ebcc34", | |
"properties": { | |
"prefix": " \uFD31 " | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "", | |
"foreground": "#193549", | |
"background": "#ffeb3b", | |
"properties": { | |
"branch_icon": "", | |
"branch_identical_icon": "≡", | |
"branch_ahead_icon": "↑", | |
"branch_behind_icon": "↓", | |
"local_working_icon": "", | |
"local_staged_icon": "", | |
"rebase_icon": " ", | |
"cherry_pick_icon": " ", | |
"commit_icon": " ", | |
"tag_icon": "笠 ", | |
"display_stash_count": true, | |
"stash_count_icon": " ", | |
"merge_icon": " ", | |
"display_upstream_icon": true, | |
"github_icon": " ", | |
"bitbucket_icon": " ", | |
"gitlab_icon": " ", | |
"git_icon": " " | |
} | |
}, | |
{ | |
"type": "exit", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#5A9E6F", | |
"leading_diamond": "", | |
"trailing_diamond": "\uE0B4", | |
"properties": { | |
"display_exit_code": false, | |
"always_enabled": true, | |
"error_color": "#C4524F", | |
"color_background": true, | |
"prefix": "<#193549>\uE0B0</> \uF155\uF128" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "newline" | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "text", | |
"style": "diamond", | |
"leading_diamond": "\uE0B6", | |
"trailing_diamond": "\uE0B0", | |
"foreground": "#F48024", | |
"background": "#3E4A52", | |
"properties": { | |
"prefix": "", | |
"text": "" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment