Created
April 4, 2024 09:45
-
-
Save ll931217/e6a4d99b0bdd5355ef022a52f64e35c3 to your computer and use it in GitHub Desktop.
My oh-my-posh theme
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": "#26C6DA", | |
"properties": { | |
"macos": "mac" | |
}, | |
"style": "plain", | |
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}", | |
"type": "os" | |
}, | |
{ | |
"foreground": "#26C6DA", | |
"style": "plain", | |
"template": " {{ .UserName }}: ", | |
"type": "session" | |
}, | |
{ | |
"foreground": "lightGreen", | |
"properties": { | |
"style": "folder" | |
}, | |
"style": "plain", | |
"template": "{{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"properties": { | |
"branch_icon": "", | |
"fetch_stash_count": true | |
}, | |
"style": "plain", | |
"template": "<#ffffff>on</> {{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ", | |
"type": "git" | |
}, | |
{ | |
"foreground": "#906cff", | |
"style": "powerline", | |
"template": "[\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}] ", | |
"type": "python" | |
}, | |
{ | |
"foreground": "#7FD5EA", | |
"style": "powerline", | |
"template": "[\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "go" | |
}, | |
{ | |
"foreground": "#76b367", | |
"style": "powerline", | |
"template": "[\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}] ", | |
"type": "node" | |
}, | |
{ | |
"foreground": "#f44336", | |
"style": "powerline", | |
"template": "[\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "ruby" | |
}, | |
{ | |
"foreground": "#ea2d2e", | |
"style": "powerline", | |
"template": "[\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] ", | |
"type": "java" | |
}, | |
{ | |
"foreground": "#4063D8", | |
"style": "powerline", | |
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
"type": "julia" | |
}, | |
{ | |
"foreground": "#FFD54F", | |
"style": "plain", | |
"template": "\u276f ", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment