oh-my-posh/themes/hotstick.minimal.omp.json
2022-03-14 22:16:22 +01:00

61 lines
1.9 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "yellow",
"properties": {
"template": " \ue0a2 "
},
"style": "plain",
"type": "root"
},
{
"background": "lightBlue",
"foreground": "black",
"leading_diamond": "\ue0b6",
"properties": {
"style": "mixed",
"template": " {{ .Path }} "
},
"style": "diamond",
"trailing_diamond": "\ue0b0",
"type": "path"
},
{
"background": "green",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}"
],
"foreground": "black",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_ahead_icon": "\u2191",
"branch_behind_icon": "\u2193",
"branch_gone": "\u2262",
"branch_icon": "\ue0a0 ",
"branch_identical_icon": "\u2261",
"cherry_pick_icon": "\u2713 ",
"commit_icon": "\u25b7 ",
"fetch_status": true,
"merge_icon": "\u25f4 ",
"no_commits_icon": "[no commits]",
"rebase_icon": "\u2c62 ",
"tag_icon": "\u25b6 ",
"template": " {{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }} "
},
"style": "powerline",
"type": "git"
}
],
"type": "prompt"
}
],
"console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}",
"final_space": true,
"osc99": true,
"version": 1
}