switch to ANSI colors and match oh-my-zsh theme
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
"properties": {
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"leading_diamond": "╭─",
|
||||
"leading_diamond": "╭──",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"foreground": "#000000",
|
||||
"background": "#d3d7cf",
|
||||
"foreground": "black",
|
||||
"background": "lightWhite",
|
||||
"type": "os",
|
||||
"style": "diamond"
|
||||
},
|
||||
@@ -31,9 +31,9 @@
|
||||
"style": "mixed"
|
||||
},
|
||||
"template": " {{ path .Path .Location }} ",
|
||||
"foreground": "#e4e4e4",
|
||||
"foreground": "lightWhite",
|
||||
"powerline_symbol": "",
|
||||
"background": "#3465a4",
|
||||
"background": "blue",
|
||||
"type": "path",
|
||||
"style": "powerline"
|
||||
},
|
||||
@@ -46,16 +46,16 @@
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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 }} ",
|
||||
"foreground": "#000000",
|
||||
"foreground": "black",
|
||||
"powerline_symbol": "",
|
||||
"background": "#4e9a06",
|
||||
"background": "green",
|
||||
"type": "git",
|
||||
"style": "powerline",
|
||||
"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 }}"
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}lightRed{{ end }}",
|
||||
"{{ if gt .Ahead 0 }}lightCyan{{ end }}",
|
||||
"{{ if gt .Behind 0 }}green{{ end }}"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -70,9 +70,9 @@
|
||||
"fetch_version": true
|
||||
},
|
||||
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"foreground": "#ffffff",
|
||||
"foreground": "white",
|
||||
"powerline_symbol": "",
|
||||
"background": "#689f63",
|
||||
"background": "green",
|
||||
"type": "node",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -83,9 +83,9 @@
|
||||
"fetch_version": true
|
||||
},
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"foreground": "#111111",
|
||||
"foreground": "darkGray",
|
||||
"powerline_symbol": "",
|
||||
"background": "#00acd7",
|
||||
"background": "lightBlue",
|
||||
"type": "go",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -96,9 +96,9 @@
|
||||
"fetch_version": true
|
||||
},
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"foreground": "#111111",
|
||||
"foreground": "darkGray",
|
||||
"powerline_symbol": "",
|
||||
"background": "#4063D8",
|
||||
"background": "blue",
|
||||
"type": "julia",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -111,9 +111,9 @@
|
||||
"home_enabled": true
|
||||
},
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"foreground": "#111111",
|
||||
"foreground": "darkGray",
|
||||
"powerline_symbol": "",
|
||||
"background": "#FFDE57",
|
||||
"background": "lightYellow",
|
||||
"type": "python",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -125,9 +125,9 @@
|
||||
"fetch_version": true
|
||||
},
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"foreground": "#ffffff",
|
||||
"foreground": "white",
|
||||
"powerline_symbol": "",
|
||||
"background": "#AE1401",
|
||||
"background": "red",
|
||||
"type": "ruby",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -139,9 +139,9 @@
|
||||
"fetch_version": false
|
||||
},
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"foreground": "#ffffff",
|
||||
"foreground": "white",
|
||||
"powerline_symbol": "",
|
||||
"background": "#FEAC19",
|
||||
"background": "yellow",
|
||||
"type": "azfunc",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -152,13 +152,13 @@
|
||||
"display_default": false
|
||||
},
|
||||
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
|
||||
"foreground": "#ffffff",
|
||||
"foreground": "white",
|
||||
"powerline_symbol": "",
|
||||
"type": "aws",
|
||||
"style": "powerline",
|
||||
"background_templates": [
|
||||
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
|
||||
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
|
||||
"{{if contains \"default\" .Profile}}yellow{{end}}",
|
||||
"{{if contains \"jan\" .Profile}}red{{end}}"
|
||||
],
|
||||
"invert_powerline": true
|
||||
},
|
||||
@@ -167,9 +167,9 @@
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": " ",
|
||||
"foreground": "#111111",
|
||||
"foreground": "darkGray",
|
||||
"powerline_symbol": "",
|
||||
"background": "#ffff66",
|
||||
"background": "lightYellow",
|
||||
"type": "root",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -179,9 +179,9 @@
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"foreground": "#000000",
|
||||
"foreground": "black",
|
||||
"powerline_symbol": "",
|
||||
"background": "#c4a000",
|
||||
"background": "yellow",
|
||||
"type": "executiontime",
|
||||
"style": "powerline",
|
||||
"invert_powerline": true
|
||||
@@ -191,8 +191,8 @@
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "",
|
||||
"invert_powerline": true,
|
||||
"foreground": "#ffffff",
|
||||
"background": "#0077c2",
|
||||
"foreground": "white",
|
||||
"background": "blue",
|
||||
"properties": {
|
||||
"mapped_shell_names": {
|
||||
"pwsh": " pwsh",
|
||||
@@ -211,13 +211,13 @@
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}{{ end }} ",
|
||||
"foreground": "#000000",
|
||||
"background": "#d3d7cf",
|
||||
"trailing_diamond": "",
|
||||
"foreground": "black",
|
||||
"background": "lightWhite",
|
||||
"trailing_diamond": "",
|
||||
"type": "status",
|
||||
"style": "diamond",
|
||||
"background_templates": [
|
||||
"{{ if gt .Code 0 }}#cc2222{{ end }}"
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"invert_powerline": true
|
||||
},
|
||||
@@ -226,7 +226,7 @@
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": "{{ if matchP \"(powershell|pwsh|fish|cmd|nu|zsh)\" .Shell }}─╮{{ end }}",
|
||||
"foreground": "#d3d7cf",
|
||||
"foreground": "lightWhite",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
@@ -241,7 +241,7 @@
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": "╰─",
|
||||
"foreground": "#d3d7cf",
|
||||
"foreground": "lightWhite",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
@@ -256,7 +256,7 @@
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": "─╯",
|
||||
"foreground": "#d3d7cf",
|
||||
"foreground": "lightWhite",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user