Last active
April 10, 2026 19:25
-
-
Save Fusion/97b8731cef5dd52bbe44ebd45505f2a5 to your computer and use it in GitHub Desktop.
cfr ohmyposh style adapted from mojdata
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", | |
| "newline": false, | |
| "segments": [ | |
| { | |
| "background": "#fbfbfb", | |
| "foreground": "#0077c2", | |
| "leading_diamond": "\ue0b6", | |
| "properties": { | |
| "arch": "\uf303", | |
| "debian": "\uf306", | |
| "fedora": "\uf30a", | |
| "linux": "\uf17c", | |
| "macos": "\uf179", | |
| "manjaro": "\uf312", | |
| "opensuse": "\uf314", | |
| "ubuntu": "\uf31b", | |
| "windows": "\uf17a" | |
| }, | |
| "style": "diamond", | |
| "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", | |
| "type": "os" | |
| }, | |
| { | |
| "background": "#fbfbfb", | |
| "foreground": "#0077c2", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "display_host": true | |
| }, | |
| "style": "powerline", | |
| "template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> ", | |
| "type": "session" | |
| }, | |
| { | |
| "background": "#e06c75", | |
| "foreground": "#ffffff", | |
| "powerline_symbol": "\ue0b0", | |
| "style": "powerline", | |
| "template": " \ue799\u2800", | |
| "type": "root" | |
| }, | |
| { | |
| "background": "#0077c2", | |
| "foreground": "#ffffff", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "folder_separator_icon": "/", | |
| "home_icon": "~", | |
| "max_depth": 2, | |
| "style": "letter" | |
| }, | |
| "style": "powerline", | |
| "template": " \ue5fe {{ .Path }} ", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "#fffb38", | |
| "background_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}", | |
| "{{ if gt .Ahead 0 }}#f17c37{{ end }}", | |
| "{{ if gt .Behind 0 }}#89d1dc{{ end }}" | |
| ], | |
| "foreground": "#193549", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Staging.Changed }} \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 }} ", | |
| "type": "git" | |
| }, | |
| { | |
| "foreground": "#FFD54F", | |
| "style": "plain", | |
| "template": " {{if .Root}}#{{else}}${{end}}", | |
| "type": "text" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "segments": [ | |
| { | |
| "background": "#f36943", | |
| "foreground": "#ffffff", | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "powerline", | |
| "invert_powerline": true, | |
| "powerline_symbol": "\ue0b2", | |
| "template": " {{ if gt .Code 0 }}\uf52f{{ else }}\uf4a7{{ end }} ", | |
| "type": "exit" | |
| }, | |
| { | |
| "background": "#f36943", | |
| "foreground": "#ffffff", | |
| "invert_powerline": true, | |
| "powerline_symbol": "\ue0b2", | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "powerline", | |
| "template": "{{ .FormattedMs }} ", | |
| "type": "executiontime" | |
| }, | |
| { | |
| "background": "#61afef", | |
| "foreground": "#ffffff", | |
| "invert_powerline": true, | |
| "properties": { | |
| "time_format": "15:04 (Mon)" | |
| }, | |
| "style": "diamond", | |
| "template": " {{ .CurrentDate | date .Format }} ", | |
| "trailing_diamond": "\ue0b4", | |
| "type": "time" | |
| } | |
| ], | |
| "type": "rprompt" | |
| } | |
| ], | |
| "console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}", | |
| "final_space": true, | |
| "version": 2 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment