2022-08-16 06:43:25 +00:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
2023-07-12 18:04:10 +00:00
"version" : 2 ,
"final_space" : true ,
2022-08-16 06:43:25 +00:00
"blocks" : [
{
2023-07-12 18:04:10 +00:00
"type" : "prompt" ,
2022-08-16 06:43:25 +00:00
"alignment" : "left" ,
"segments" : [
{
2023-07-12 18:04:10 +00:00
"type" : "root" ,
2022-08-16 06:43:25 +00:00
"style" : "plain" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#ffee58" ,
"template" : " \uf0e7 "
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "exit" ,
"style" : "powerline" ,
2022-08-16 06:43:25 +00:00
"foreground" : "#06884b" ,
2023-07-12 18:04:10 +00:00
"foreground_templates" : [ "{{ if gt .Code 0 }}#e61010{{ end }}" ] ,
"template" : " {{ if gt .Code 0 }}✗{{ else }}✔{{ end }} " ,
2022-08-16 06:43:25 +00:00
"properties" : {
"always_enabled" : true
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "session" ,
"style" : "plain" ,
2023-07-17 12:57:46 +00:00
"foreground" : "#ddd" ,
2023-07-17 08:36:02 +00:00
"template" : " {{ if .SSHSession }}\udb80\udf18 {{ end }}{{ .UserName }}{{ if .SSHSession }}@{{ .HostName }}{{ end }}" ,
2022-08-16 06:43:25 +00:00
"properties" : {
"display_host" : false
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
}
2023-07-12 18:04:10 +00:00
]
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "prompt" ,
2022-08-16 06:43:25 +00:00
"alignment" : "left" ,
"segments" : [
{
2023-07-12 18:04:10 +00:00
"type" : "envvar" ,
"style" : "powerline" ,
2022-08-16 06:43:25 +00:00
"foreground" : "#fff000" ,
"properties" : {
2023-07-12 18:04:10 +00:00
"prefix" : " \udb81\udfb7 " ,
2022-08-16 06:43:25 +00:00
"var_name" : "__SHELL_INFORMATION_POSH_258__"
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "go" ,
2022-08-16 06:43:25 +00:00
"style" : "powerline" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#ffffff" ,
"background" : "#983ebb" ,
"template" : " \udb81\udfd3 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "node" ,
2022-08-16 06:43:25 +00:00
"style" : "powerline" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#ffffff" ,
"background" : "#983ebb" ,
"template" : " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "python" ,
"style" : "powerline" ,
2022-08-16 06:43:25 +00:00
"powerline_symbol" : "\ue0b0" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#ffffff" ,
"background" : "#983ebb" ,
"template" : " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " ,
2022-08-16 06:43:25 +00:00
"properties" : {
"display_mode" : "context" ,
"home_enabled" : true
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
}
2023-07-12 18:04:10 +00:00
]
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "prompt" ,
2022-08-16 06:43:25 +00:00
"alignment" : "left" ,
"segments" : [
{
2023-07-12 18:04:10 +00:00
"type" : "os" ,
2022-08-16 06:43:25 +00:00
"style" : "plain" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#8e24aa" ,
"template" : " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "path" ,
"style" : "powerline" ,
2022-08-16 06:43:25 +00:00
"powerline_symbol" : "\ue0b0" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#ffffff" ,
"background" : "#3156c4" ,
"template" : " {{ .Path }} " ,
2022-08-16 06:43:25 +00:00
"properties" : {
"folder_separator_icon" : " \ue0b1 " ,
2023-07-13 08:20:20 +00:00
"home_icon" : "\uf015 " ,
2022-08-16 06:43:25 +00:00
"style" : "letter"
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "git" ,
2022-08-16 06:43:25 +00:00
"style" : "powerline" ,
2023-07-12 18:04:10 +00:00
"powerline_symbol" : "" ,
"foreground" : "#193549" ,
"background" : "#ffeb3b" ,
"background_templates" : [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}" ,
"{{ if gt .Ahead 0 }}#B388FF{{ end }}" ,
"{{ if gt .Behind 0 }}#B388FB{{ end }}"
] ,
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }}" ,
"properties" : {
"fetch_status" : true ,
"fetch_stash_count" : true ,
"fetch_upstream_icon" : true ,
"untracked_modes" : {
"/Users/user/Projects/oh-my-posh/" : "no"
}
}
2022-08-16 06:43:25 +00:00
}
2023-07-12 18:04:10 +00:00
]
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "rprompt" ,
2022-08-16 06:43:25 +00:00
"alignment" : "right" ,
"segments" : [
{
2023-07-12 18:04:10 +00:00
"type" : "executiontime" ,
"style" : "plain" ,
2022-08-16 06:43:25 +00:00
"powerline_symbol" : "\ue0b0" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#8454bb" ,
"template" : " <#fefefe>\udb81\udead</> {{ .FormattedMs }} " ,
2022-08-16 06:43:25 +00:00
"properties" : {
"style" : "austin" ,
"threshold" : 500
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "time" ,
"style" : "plain" ,
2022-08-16 06:43:25 +00:00
"foreground" : "#007ACC" ,
2023-07-12 18:04:10 +00:00
"template" : " {{ .CurrentDate | date .Format }} " ,
2022-08-16 06:43:25 +00:00
"properties" : {
"time_format" : "[15:04:05]"
2023-07-12 18:04:10 +00:00
}
2022-08-16 06:43:25 +00:00
}
2023-07-12 18:04:10 +00:00
]
2022-08-16 06:43:25 +00:00
} ,
{
2023-07-12 18:04:10 +00:00
"type" : "prompt" ,
2022-08-16 06:43:25 +00:00
"alignment" : "left" ,
"segments" : [
{
2023-07-12 18:04:10 +00:00
"type" : "text" ,
2022-08-16 06:43:25 +00:00
"style" : "powerline" ,
2023-07-12 18:04:10 +00:00
"foreground" : "#3156c4" ,
"template" : " \u276f "
2022-08-16 06:43:25 +00:00
}
] ,
2023-07-12 18:04:10 +00:00
"newline" : true
2022-08-16 06:43:25 +00:00
}
2023-07-12 18:04:10 +00:00
]
2022-08-16 06:43:25 +00:00
}