2022-05-23 04:40:30 +00:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
2022-06-15 14:00:10 +00:00
"type" : "prompt" ,
2022-05-23 04:40:30 +00:00
"alignment" : "left" ,
2022-06-15 14:00:10 +00:00
"segments" : [
{
"background" : "#4e9a06" ,
"background_templates" : [
"{{ 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 }}"
] ,
"foreground" : "#000000" ,
"style" : "diamond" ,
2022-06-20 02:43:54 +00:00
"leading_diamond" : "\ue0c7\u2593" ,
2022-06-15 14:00:10 +00:00
"properties" : {
"branch_icon" : "\uf126 " ,
"fetch_stash_count" : true ,
"fetch_status" : true ,
"fetch_upstream_icon" : true
} ,
"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 }}" ,
"type" : "git"
} ,
{
"background" : "#d3d7cf" ,
"foreground" : "#000000" ,
"powerline_symbol" : "\ue0b0" ,
"style" : "powerline" ,
"type" : "text" ,
"template" : "{{ if .Env.CLOUDSDK_ACTIVE_CONFIG_NAME }} \ue7b2 {{ .Env.CLOUDSDK_ACTIVE_CONFIG_NAME }} {{ end }}"
} ,
{
"style" : "plain" ,
"type" : "text" ,
"template" : " "
}
]
} ,
{
"alignment" : "left" ,
"newline" : true ,
2022-05-23 04:40:30 +00:00
"segments" : [
{
"background" : "#d3d7cf" ,
"foreground" : "#000000" ,
"style" : "diamond" ,
2022-06-20 02:43:54 +00:00
"leading_diamond" : "\ue0c7\u2593" ,
2022-06-19 01:54:22 +00:00
"template" : " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " ,
2022-05-23 04:40:30 +00:00
"type" : "os"
} ,
2022-06-04 18:56:36 +00:00
{
"type" : "command" ,
"foreground" : "#d3d7cf" ,
"background" : "red" ,
"background_templates" : [
"{{ if contains \"running\" .Output }}#FFA400{{ end }}"
] ,
"powerline_symbol" : "\ue0b0" ,
"style" : "powerline" ,
"properties" : {
"shell" : "bash" ,
"command" : "systemctl is-system-running || true"
} ,
2022-06-04 19:31:20 +00:00
"template" : "{{ if not (contains \"running\" .Output) }} {{ .Output }} {{ end }}"
2022-06-04 18:56:36 +00:00
} ,
2022-05-23 04:40:30 +00:00
{
"background" : "#3465a4" ,
"foreground" : "#e4e4e4" ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
2022-06-15 14:00:10 +00:00
"home_icon" : "\ufd24" ,
"mixed_threshold" : 3 ,
2022-06-21 00:01:26 +00:00
"style" : "agnoster_full" ,
2022-06-19 01:54:22 +00:00
"folder_separator_icon" : "\ue0b5" ,
"folder_separator_template" : "" ,
2022-06-15 14:00:10 +00:00
"mapped_locations" : {
2022-06-19 01:54:22 +00:00
"/" : "\ue299/" ,
"/srv" : "\uf98a" ,
"/srv/containeriszed/docker-compose" : "\uf308" ,
"~/_pqb" : "\ufab4" ,
"~/_pqb/code" : "\ufab4\ue796" ,
"~/_pqb/code/slurm/moe-access" : "\ue3bf\uf2c2" ,
2022-06-15 14:00:10 +00:00
"~/_pqb/code/slurm" : "\uf1b0" ,
2022-06-19 01:54:22 +00:00
"~/_pqb/code/slurm/pqb-terraform" : "\uf1b0\ufa08"
2022-06-15 14:00:10 +00:00
}
2022-05-23 04:40:30 +00:00
} ,
"style" : "powerline" ,
2022-06-19 01:54:22 +00:00
"template" : " \uf07c {{ .Path }} " ,
2022-05-23 04:40:30 +00:00
"type" : "path"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "right" ,
"segments" : [
{
"background" : "#689f63" ,
"foreground" : "#ffffff" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"fetch_version" : true
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} \uf898 " ,
2022-05-23 04:40:30 +00:00
"type" : "node"
} ,
{
"background" : "#00acd7" ,
"foreground" : "#111111" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"fetch_version" : true
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue627 " ,
2022-05-23 04:40:30 +00:00
"type" : "go"
} ,
{
"background" : "#4063D8" ,
"foreground" : "#111111" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"fetch_version" : true
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue624 " ,
2022-05-23 04:40:30 +00:00
"type" : "julia"
} ,
{
"background" : "#FFDE57" ,
"foreground" : "#111111" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"display_mode" : "files" ,
"fetch_virtual_env" : false
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue235 " ,
2022-05-23 04:40:30 +00:00
"type" : "python"
} ,
{
"background" : "#AE1401" ,
"foreground" : "#ffffff" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"display_mode" : "files" ,
"fetch_version" : true
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 " ,
2022-05-23 04:40:30 +00:00
"type" : "ruby"
} ,
{
"background" : "#FEAC19" ,
"foreground" : "#ffffff" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"display_mode" : "files" ,
"fetch_version" : false
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7" ,
2022-05-23 04:40:30 +00:00
"type" : "azfunc"
} ,
{
"background_templates" : [
"{{if contains \"default\" .Profile}}#FFA400{{end}}" ,
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
] ,
"foreground" : "#ffffff" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"display_default" : false
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad " ,
2022-05-23 04:40:30 +00:00
"type" : "aws"
} ,
{
"background" : "#ffff66" ,
"foreground" : "#111111" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "\uf0ad " ,
2022-05-23 04:40:30 +00:00
"type" : "root"
} ,
{
"background" : "#c4a000" ,
"foreground" : "#000000" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ .FormattedMs }} \uf252 " ,
2022-05-23 04:40:30 +00:00
"type" : "executiontime"
} ,
{
"background" : "#000000" ,
"background_templates" : [
"{{ if gt .Code 0 }}#cc2222{{ end }}"
] ,
"foreground" : "#d3d7cf" ,
"invert_powerline" : true ,
"powerline_symbol" : "\ue0b2" ,
"properties" : {
"always_enabled" : true
} ,
"style" : "powerline" ,
2022-05-23 05:40:15 +00:00
"template" : "{{ if gt .Code 0 }}{{ .Meaning }}{{ else }}\u2714{{ end }} " ,
2022-05-23 04:40:30 +00:00
"type" : "exit"
} ,
2022-06-03 14:49:50 +00:00
{
"background" : "#4063D8" ,
"background_templates" : [
"{{ if .Root }}lightRed{{ end }}"
] ,
"foreground" : "#d3d7cf" ,
"properties" : {
"display_host" : true
} ,
"invert_powerline" : true ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b2" ,
"template" : "<{{ if .Root }}lightBlue{{ else }}green{{ end }}></>{{ .UserName }}{{ if .Root }}!{{ else }}@{{ end }}{{ .HostName }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}></> \uf2bd " ,
"trailing_diamond" : "\ue0b0\u2500\u256e" ,
"type" : "session"
} ,
2022-06-09 18:23:05 +00:00
{
"background" : "#81ff91" ,
"background_templates" : [
"{{ if gt .SwapPercentUsed 90.0 }}red{{ else if gt .SwapPercentUsed 75.0 }}lightRed{{ end }}"
] ,
"foreground" : "#000000" ,
"foreground_templates" : [
"{{ if gt .SwapPercentUsed 90.0 }}#d3d7cf{{ end }}"
] ,
"invert_powerline" : true ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0b2" ,
"template" : "sw{{ printf \"%.0f%%\" .SwapPercentUsed }}" ,
"type" : "sysinfo"
} ,
2022-05-23 04:40:30 +00:00
{
"background" : "#d3d7cf" ,
"foreground" : "#000000" ,
"invert_powerline" : true ,
"style" : "diamond" ,
2022-06-19 01:54:22 +00:00
"template" : " {{ .CurrentDate | date .Format }} \uf017 " ,
2022-06-20 02:43:54 +00:00
"trailing_diamond" : "\u2593\ue0c6" ,
2022-05-23 04:40:30 +00:00
"type" : "time"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
2022-06-20 02:43:54 +00:00
"type" : "shell" ,
"style" : "diamond" ,
"leading_diamond" : "\ue0c7" ,
"trailing_diamond" : "\uE0B0" ,
"template" : "{{ .Name }}" ,
"foreground" : "#ffffff" ,
"background" : "#000000" ,
"background_templates" : [
"{{ if contains \"z\ue7a2\" .Name }}#29315a{{ end }}" ,
"{{ if contains \"b\ue7a2\" .Name }}#424242{{ end }}" ,
"{{ if contains \"\uf489\" .Name }}#0037da{{ end }}"
] ,
"properties" : {
"mapped_shell_names" : {
"powershell" : " \uf489" ,
"pwsh" : " \uf489" ,
"bash" : "b\ue7a2" ,
"zsh" : "z\ue7a2"
}
}
2022-05-23 04:40:30 +00:00
}
] ,
"type" : "prompt"
}
] ,
"console_title_template" : "{{ .Shell }} in {{ .Folder }}" ,
"final_space" : true ,
"version" : 2
}