Created
March 6, 2024 02:38
-
-
Save Gustavo-Murdiga88/e1b3a120bf3f60549cfc304feeb6ce37 to your computer and use it in GitHub Desktop.
spaceship (oh my posh)
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", | |
"defaults": { | |
"font": { | |
"face": "JetBrainsMono Nerd Font" | |
} | |
}, | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"foreground": "#44FFD2", | |
"properties": { | |
"style": "folder" | |
}, | |
"style": "plain", | |
"template": "{{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"foreground": "#22d3ee", | |
"properties": { | |
"branch_icon": "\ue0a0 " | |
}, | |
"style": "plain", | |
"template": "<#F3EFF5>on</> {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ", | |
"type": "git" | |
}, | |
{ | |
"foreground": "#5EADF2", | |
"style": "plain", | |
"template": "{{if .Version}}<#F3EFF5>is</> \uf487 {{.Version}} {{end}}", | |
"type": "project" | |
}, | |
{ | |
"foreground": "#44FFD2", | |
"properties": { | |
"fetch_version": true | |
}, | |
"style": "plain", | |
"template": "<#F3EFF5>via</> \ue718 {{ .Full }} ", | |
"type": "node" | |
}, | |
{ | |
"foreground": "#44FFD2", | |
"style": "plain", | |
"template": "<#F3EFF5>and</> \ue71e {{.Full}} ", | |
"type": "npm" | |
}, | |
{ | |
"foreground": "#1e40af", | |
"style": "plain", | |
"template": "<#F3EFF5>and</> \ue71e {{.Full}} ", | |
"type": "docker" | |
}, | |
{ | |
"foreground": "#5EADF2", | |
"style": "plain", | |
"template": "<#F3EFF5>and</> \ue7ba {{.Full}} ", | |
"type": "react" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#FFE45E", | |
"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
make public