2022-01-07 01:37:56 -08:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"osc99" : true ,
2022-01-22 19:29:39 -08:00
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{if .Root}}\u26a1 {{end}}{{.Folder}}" ,
2022-01-07 01:37:56 -08:00
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#ffce7b" ,
"properties" : {
"prefix" : "" ,
"template" : "\u250c"
}
} ,
{
"type" : "session" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b0" ,
"foreground" : "#1d1626" ,
2022-01-24 19:21:48 -08:00
"background" : "#ffce7b" ,
"properties" : {
"prefix" : " \uF26C "
}
} ,
{
"type" : "os" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b0" ,
"foreground" : "#fffef9" ,
"background" : "#C678DD" ,
"properties" : {
"windows" : "\uF17A"
}
2022-01-07 01:37:56 -08:00
} ,
{
"type" : "path" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b0" ,
"foreground" : "#fffef9" ,
"background" : "#C678DD" ,
"properties" : {
2022-01-23 09:48:55 -08:00
"style" : "full"
2022-01-07 01:37:56 -08:00
}
} ,
{
"type" : "git" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b0" ,
"foreground" : "#100e23" ,
"background" : "#fffffb" ,
"background_templates" : [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#fcaf17{{ end }}" ,
"{{ if gt .Ahead 0 }}#95ffa4{{ end }}" ,
2022-01-22 19:29:39 -08:00
"{{ if gt .Behind 0 }}#f7acbc{{ end }}"
2022-01-07 01:37:56 -08:00
] ,
"properties" : {
"fetch_status" : true ,
"fetch_stash_count" : true ,
"fetch_worktree_count" : true ,
"fetch_upstream_icon" : true ,
"branch_icon" : "\uE0A0 " ,
"commit_icon" : "\uF417 " ,
"tag_icon" : "\uF412 " ,
"github_icon" : "\uF408 " ,
"gitlab_icon" : "\uF296 " ,
"bitbucket_icon" : "\uF171 " ,
"azure_devops_icon" : "\uFD03 " ,
2022-01-22 19:29:39 -08:00
"git_icon" : "\uF1D3 " ,
"branch_identical_icon" : "\uF690 " ,
"branch_gone_icon" : "\uF68E " ,
2022-01-07 01:37:56 -08:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uF044 {{.Working.String}}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uF046 {{.Staging.String}}</>{{ end }}{{ if gt .StashCount 0 }} \uF692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uF1BB {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }}"
}
} ,
2022-01-24 19:21:48 -08:00
{
"type" : "executiontime" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#fffef9" ,
"background" : "#33a3dc" ,
"properties" : {
"prefix" : " \uF064 " ,
"always_enabled" : true
}
} ,
2022-01-07 01:37:56 -08:00
{
"type" : "exit" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b0" ,
2022-01-24 19:21:48 -08:00
"foreground" : "#fffef9" ,
2022-01-07 01:37:56 -08:00
"background" : "#ed1941" ,
"properties" : {
"prefix" : " \uF12A >>" ,
"template" : "{{ .Text }}"
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#ffce7b" ,
"properties" : {
"prefix" : "" ,
"postfix" : "" ,
"text" : "\u2514 "
}
} ,
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#ffffff" ,
"properties" : {
"prefix" : "" ,
"postfix" : "" ,
"text" : "<b>$</b>"
}
}
]
}
] ,
"final_space" : true
}