2021-05-04 00:23:40 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "os" ,
"style" : "diamond" ,
"foreground" : "#000000" ,
"background" : "#d3d7cf" ,
"leading_diamond" : "╭─"
} ,
{
"type" : "path" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-05-04 00:23:40 -07:00
"foreground" : "#e4e4e4" ,
"background" : "#3465a4" ,
"properties" : {
"prefix" : " \uF07C " ,
"home_icon" : "~" ,
"style" : "full"
}
} ,
{
"type" : "git" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-05-04 00:23:40 -07:00
"foreground" : "#000000" ,
"background" : "#4e9a06" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#c4a000{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}" ,
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}" ,
"{{ if gt .Behind 0 }}#4e9a06{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2021-05-04 00:23:40 -07:00
"properties" : {
"branch_icon" : "\uF126 " ,
2021-11-07 08:42:56 -08:00
"fetch_stash_count" : true ,
"fetch_status" : true ,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon" : true ,
2021-11-09 08:13:47 -08:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
2021-05-04 00:23:40 -07:00
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "right" ,
"segments" : [
{
"type" : "node" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#ffffff" ,
"background" : "#689f63" ,
"properties" : {
"postfix" : " \uF898 " ,
"display_version" : true
}
} ,
{
"type" : "go" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#111111" ,
"background" : "#00acd7" ,
"properties" : {
"postfix" : " \uE627 " ,
"display_version" : true
}
} ,
{
"type" : "julia" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#111111" ,
"background" : "#4063D8" ,
"properties" : {
"postfix" : " \uE624 " ,
"display_version" : true
}
} ,
{
"type" : "python" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#111111" ,
"background" : "#FFDE57" ,
"properties" : {
"postfix" : " \uE235 " ,
"display_version" : true ,
"display_mode" : "files" ,
"display_virtual_env" : false
}
} ,
{
"type" : "ruby" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#ffffff" ,
"background" : "#AE1401" ,
"properties" : {
"postfix" : " \uE791 " ,
"display_version" : true ,
"display_mode" : "files"
}
} ,
{
"type" : "azfunc" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#ffffff" ,
"background" : "#FEAC19" ,
"properties" : {
"postfix" : " \uf0e7" ,
"display_version" : false ,
"display_mode" : "files"
}
} ,
{
"type" : "aws" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#ffffff" ,
"background_templates" : [
"{{if contains \"default\" .Profile}}#FFA400{{end}}" ,
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
] ,
"properties" : {
"postfix" : " \uE7AD " ,
"display_default" : false
}
} ,
{
"type" : "root" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#111111" ,
"background" : "#ffff66" ,
"properties" : {
"root_icon" : "\uF0AD"
}
} ,
{
"type" : "executiontime" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#000000" ,
"background" : "#c4a000" ,
"properties" : {
"postfix" : " \uF252 "
}
} ,
{
"type" : "exit" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"invert_powerline" : true ,
"foreground" : "#d3d7cf" ,
"background" : "#000000" ,
"properties" : {
"always_enabled" : true ,
"display_exit_code" : true ,
"error_color" : "#cc2222" ,
"color_background" : true ,
"success_icon" : "✔"
}
} ,
{
"type" : "time" ,
"style" : "diamond" ,
"invert_powerline" : true ,
2021-11-07 08:42:56 -08:00
"trailing_diamond" : "\uE0B0─╮" ,
2021-05-04 00:23:40 -07:00
"background" : "#d3d7cf" ,
"foreground" : "#000000" ,
"properties" : {
"postfix" : " \uF017 "
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"type" : "text" ,
2021-10-07 11:19:23 -07:00
"style" : "plain" ,
"foreground" : "#d3d7cf" ,
2021-05-04 00:23:40 -07:00
"properties" : {
2021-06-11 02:00:19 -07:00
"prefix" : "" ,
"postfix" : "" ,
2021-10-07 11:19:23 -07:00
"text" : "╰─"
2021-05-04 00:23:40 -07:00
}
}
]
} ,
{
"type" : "rprompt" ,
"segments" : [
{
"type" : "text" ,
2021-10-02 22:33:57 -07:00
"style" : "plain" ,
"foreground" : "#d3d7cf" ,
2021-05-04 00:23:40 -07:00
"properties" : {
2021-10-02 22:33:57 -07:00
"text" : "─╯" ,
"prefix" : "" ,
"postfix" : ""
2021-05-04 00:23:40 -07:00
}
}
]
}
] ,
"final_space" : true ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{ .Shell }} in {{ .Folder }}"
}