oh-my-posh/themes/spaceship.omp.json
2022-03-27 15:42:42 +02:00

52 lines
1.2 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "lightYellow",
"style": "plain",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"foreground": "cyan",
"properties": {
"style": "folder"
},
"style": "plain",
"template": "<#ffffff>in</> {{ .Path }} ",
"type": "path"
},
{
"foreground": "#ff94df",
"properties": {
"branch_icon": " <#ff94df><b>\ue0a0 </b></>",
"fetch_stash_count": true
},
"style": "plain",
"template": "<#ffffff>on</> {{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightGreen",
"style": "plain",
"template": "\u276f",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}