2021-04-12 02:31:01 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"final_space" : true ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "text" ,
"style" : "diamond" ,
"leading_diamond" : "\ue0c7\u2593" ,
"foreground" : "#000000" ,
"background" : "#ffea00" ,
"properties" : {
"text" : "" ,
"postfix" : "" ,
"prefix" : ""
}
} ,
{
2021-04-18 10:16:06 -07:00
"type" : "kubectl" ,
"style" : "powerline" ,
"powerline_symbol" : "" ,
"foreground" : "#000000" ,
"background" : "#ffea00" ,
"properties" : {
"prefix" : " \uFD31" ,
"template" : " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}"
}
} ,
{
"type" : "az" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#000000" ,
"background" : "#008AD7" ,
"properties" : {
"prefix" : " \uFD03 "
}
}
]
2021-04-12 02:31:01 -07:00
} ,
2021-04-18 10:16:06 -07:00
{
"type" : "prompt" ,
"alignment" : "left" ,
"newline" : true ,
"segments" : [
2021-04-12 02:31:01 -07:00
{
"type" : "os" ,
"style" : "diamond" ,
"leading_diamond" : "\ue0c7\u2593" ,
"foreground" : "#26C6DA" ,
"background" : "#2f2f2f" ,
"properties" : {
"alpine" : "\uf300" ,
"arch" : "\uf303" ,
"centos" : "\uf304" ,
"debian" : "\uf306" ,
"elementary" : "\uf309" ,
"fedora" : "\uf30a" ,
"gentoo" : "\uf30d" ,
"linux" : "\ue712" ,
"macos" : "\ue711" ,
"manjaro" : "\uf312" ,
"mint" : "\uf30f" ,
"opensuse" : "\uf314" ,
"raspbian" : "\uf315" ,
"ubuntu" : "\uf31c" ,
"windows" : "\ue70f" ,
2022-01-22 10:46:56 -08:00
"postfix" : "<#ffea00> \ue0b1</>" ,
"template" : "{{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}"
2021-04-12 02:31:01 -07:00
}
} ,
{
"type" : "session" ,
"style" : "diamond" ,
"foreground" : "#ffea00" ,
"background" : "#2f2f2f" ,
"properties" : {
2021-12-03 14:44:58 -08:00
"postfix" : "<#ffea00> \ue0b1</>" ,
"template" : "{{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}{{ .UserName }}{{ end }}"
2021-04-12 02:31:01 -07:00
}
} ,
{
"type" : "root" ,
"style" : "diamond" ,
"foreground" : "#ffea00" ,
"background" : "#2f2f2f" ,
"properties" : {
2022-01-22 10:46:56 -08:00
"template" : "\uF0E7" ,
2021-04-12 02:31:01 -07:00
"postfix" : "<#ffea00> \ue0b1</>"
}
} ,
{
"type" : "path" ,
"style" : "diamond" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"properties" : {
"prefix" : "<#f2f200> \ue5ff </>" ,
"style" : "agnoster_short" ,
"home_icon" : "\uF7DB " ,
"folder_icon" : "<#B5B2C2>\ue5fe </>" ,
"folder_separator_icon" : "<#ffea00>\uE0B1 </>"
}
} ,
{
"type" : "git" ,
"style" : "diamond" ,
"foreground" : "#ffea00" ,
"background" : "#2f2f2f" ,
2021-11-07 08:42:56 -08:00
"foreground_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffea00{{ end }}" ,
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}" ,
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2021-04-12 02:31:01 -07:00
"properties" : {
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-07 08:42:56 -08:00
"prefix" : "<#ffea00>\ue0b1 </>" ,
2021-11-09 08:13:47 -08:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uF044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uF046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
2021-04-12 02:31:01 -07:00
}
} ,
{
"type" : "text" ,
"style" : "diamond" ,
"trailing_diamond" : "\ue0b0" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"properties" : {
"text" : "" ,
"postfix" : "" ,
"prefix" : ""
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#ffea00" ,
"properties" : {
"text" : "\u276F"
}
}
]
}
]
2021-04-18 10:16:06 -07:00
}