2021-03-11 04:30:20 -08: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" : "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" ,
"wsl" : "\ue712" ,
"wsl_separator" : " on " ,
"windows" : "\ue70f" ,
"postfix" : "<#7a7a7a> \ue0b1</>"
}
} ,
{
"type" : "session" ,
"style" : "diamond" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"properties" : {
"user_info_separator" : "<#7a7a7a>\uf1fa</>" ,
"display_default" : false ,
"user_color" : "#77f5d6" ,
"host_color" : "#2EEFBF" ,
"postfix" : "<#7a7a7a> \ue0b1</>"
}
} ,
{
"type" : "root" ,
"style" : "diamond" ,
"foreground" : "#ffff66" ,
"background" : "#2f2f2f" ,
"properties" : {
"root_icon" : "\uF0E7" ,
"postfix" : "<#7a7a7a> \ue0b1</>"
}
} ,
{
"type" : "path" ,
"style" : "diamond" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"properties" : {
"prefix" : "<#f2f200> \ue5ff </>" ,
"style" : "full" ,
"enable_hyperlink" : false ,
"folder_icon" : "<#B5B2C2>\ue5fe </>"
}
} ,
{
"type" : "git" ,
"style" : "diamond" ,
"foreground" : "#ffeb3b" ,
"background" : "#2f2f2f" ,
2021-11-07 08:42:56 -08:00
"foreground_templates" : [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ffeb3b{{ end }}" ,
"{{ if .Repo.Ahead gt 0 }}#2EC4B6{{ end }}" ,
"{{ if .Repo.Behind gt 0 }}#8A4FFF{{ end }}"
] ,
2021-03-11 04:30:20 -08: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" : "<#7a7a7a>\ue0b1 </>" ,
2021-11-08 13:56:40 -08:00
"template" : "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<#E84855> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#2FDA4E> \uF046 {{ .Repo.Staging.String }}</>{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
2021-03-11 04:30:20 -08:00
}
} ,
{
"type" : "text" ,
"style" : "diamond" ,
"trailing_diamond" : "\ue0b0" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"properties" : {
"text" : "" ,
"postfix" : "" ,
"prefix" : ""
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "right" ,
"segments" : [
{
"type" : "text" ,
"style" : "diamond" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"leading_diamond" : "\ue0b2" ,
"properties" : {
"text" : "" ,
"prefix" : "" ,
"postfix" : ""
}
} ,
{
"type" : "node" ,
"style" : "diamond" ,
"foreground" : "#6CA35E" ,
"background" : "#2f2f2f" ,
"properties" : {
"prefix" : " \uE718 " ,
"postfix" : "<#7a7a7a> \ue0b3</>"
}
} ,
{
"type" : "python" ,
"style" : "diamond" ,
"foreground" : "#96E072" ,
"background" : "#2f2f2f" ,
"properties" : {
"prefix" : " \uE235 " ,
"postfix" : "<#7a7a7a> \ue0b3</>"
}
} ,
{
"type" : "dotnet" ,
"style" : "diamond" ,
"foreground" : "#3891A6" ,
"background" : "#2f2f2f" ,
"properties" : {
"prefix" : " \uE77F " ,
"postfix" : "<#7a7a7a> \ue0b3</>"
}
} ,
{
"type" : "time" ,
"style" : "diamond" ,
"trailing_diamond" : "\u2593\ue0c6" ,
"foreground" : "#fafafa" ,
"background" : "#2f2f2f" ,
"properties" : {
"time_format" : "15:04:05" ,
"postfix" : "<#007ACC> \uf64f </>"
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
2021-04-18 10:16:06 -07:00
"newline" : true ,
2021-03-11 04:30:20 -08:00
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#7a7a7a" ,
"properties" : {
"text" : "~#@\u276F"
}
}
]
} ,
{
"type" : "rprompt" ,
"alignment" : "right" ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#7a7a7a" ,
"properties" : {
"text" : "\u276E"
}
} ,
{
"type" : "executiontime" ,
"style" : "plain" ,
"foreground" : "#FFCE5C" ,
"properties" : {
"threshold" : 500 ,
"style" : "roundrock" ,
"postfix" : "<#fafafa> \uf252 </>"
}
} ,
{
"type" : "exit" ,
"style" : "plain" ,
"foreground" : "#9FD356" ,
"properties" : {
"display_exit_code" : true ,
"always_numeric" : true ,
"always_enabled" : true ,
"error_color" : "#E84855" ,
"color_background" : false ,
"prefix" : " \uf705 "
}
}
]
}
]
}