2021-01-23 06:19:46 -08:00
{
2021-04-04 11:28:41 -07:00
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{if .Root}}(Admin){{end}} {{.Path}}" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
2021-11-07 03:08:56 -08:00
"newline" : false ,
2021-04-04 11:28:41 -07:00
"segments" : [
2021-01-23 06:19:46 -08:00
{
2021-11-07 03:08:56 -08:00
"type" : "session" ,
2021-04-04 11:28:41 -07:00
"style" : "plain" ,
"foreground" : "#BF616A" ,
"properties" : {
2021-11-07 03:08:56 -08:00
"display_host" : false ,
"display_user" : true ,
"user_info_separator" : "" ,
"prefix" : ""
2021-04-04 11:28:41 -07:00
}
2021-01-23 06:19:46 -08:00
} ,
{
2021-04-04 11:28:41 -07:00
"type" : "path" ,
"style" : "plain" ,
"foreground" : "#81A1C1" ,
"properties" : {
"prefix" : "" ,
"style" : "full"
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
2021-01-23 06:19:46 -08:00
{
2021-04-04 11:28:41 -07:00
"type" : "git" ,
"style" : "plain" ,
"foreground" : "#6C6C6C" ,
"properties" : {
"prefix" : "" ,
2021-11-07 08:42:56 -08:00
"fetch_stash_count" : true ,
"fetch_status" : true ,
2021-04-04 11:28:41 -07:00
"display_upstream_icon" : true ,
"branch_icon" : "" ,
"github_icon" : "" ,
"branch_ahead_icon" : "<#88C0D0>\u21e1 </>" ,
"branch_behind_icon" : "<#88C0D0>\u21e3 </>" ,
2021-11-07 08:42:56 -08:00
"local_working_icon" : "<#FFAFD7>\u002a</>" ,
"template" : "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
2021-04-04 11:28:41 -07:00
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
2021-01-23 06:19:46 -08:00
{
2021-04-04 11:28:41 -07:00
"type" : "executiontime" ,
"style" : "plain" ,
"foreground" : "#A3BE8C" ,
"properties" : {
"style" : "austin"
}
}
]
} ,
{
"type" : "prompt" ,
2021-04-18 10:16:06 -07:00
"alignment" : "left" ,
"newline" : true ,
2021-04-04 11:28:41 -07:00
"segments" : [
2021-01-23 06:19:46 -08:00
{
2021-04-04 11:28:41 -07:00
"type" : "exit" ,
"style" : "plain" ,
"foreground" : "#B48EAD" ,
"properties" : {
"prefix" : "\u276f" ,
"display_exit_code" : false ,
"error_color" : "#BF616A" ,
"always_enabled" : true
}
2021-01-23 06:19:46 -08:00
}
2021-04-04 11:28:41 -07:00
]
}
]
2021-01-23 06:19:46 -08:00
}