2022-04-29 14:22:12 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "iterm",
|
|
|
|
"style": "plain",
|
2022-05-06 13:23:24 -07:00
|
|
|
"foreground": "cyan",
|
2022-04-29 14:22:12 -07:00
|
|
|
"template": "{{ .PromptMark }}"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"foreground": "cyan",
|
2022-04-29 14:22:12 -07:00
|
|
|
"properties": {
|
|
|
|
"alpine": "\uf300",
|
|
|
|
"arch": "\uf303",
|
|
|
|
"centos": "\uf304",
|
|
|
|
"debian": "\uf306",
|
|
|
|
"elementary": "\uf309",
|
|
|
|
"fedora": "\uf30a",
|
|
|
|
"gentoo": "\uf30d",
|
|
|
|
"linux": "\ue712",
|
|
|
|
"macos": "\uf179",
|
|
|
|
"manjaro": "\uf312",
|
|
|
|
"mint": "\uf30f",
|
|
|
|
"opensuse": "\uf314",
|
|
|
|
"raspbian": "\uf315",
|
|
|
|
"ubuntu": "\uf31b",
|
|
|
|
"windows": "\uf871",
|
|
|
|
"wsl": "\ue712",
|
|
|
|
"wsl_separator": " on "
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-05-06 13:23:24 -07:00
|
|
|
"template": " {{ if .WSL }}\ue62a\uf44c{{ end }}{{.Icon}}\u2550",
|
2022-04-29 14:22:12 -07:00
|
|
|
"trailing_diamond": "<transparent,>\ue0b2</>",
|
|
|
|
"type": "os"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "green",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
|
|
|
"template": " \uf489 {{ .Name }} ",
|
|
|
|
"type": "shell"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "magenta",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"style": "powerline",
|
2022-05-06 13:23:24 -07:00
|
|
|
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
|
2022-04-29 14:22:12 -07:00
|
|
|
"type": "session"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightCyan",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": true
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
|
|
|
"type": "julia"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightCyan",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": true
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
|
|
|
"type": "go"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightCyan",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue738 {{ .Full }}",
|
|
|
|
"type": "java"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightCyan",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue73d {{ .Full }} ",
|
|
|
|
"type": "php"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightGreen",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"fetch_version": true
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
|
|
|
"type": "node"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "yellow",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"display_mode": "files",
|
|
|
|
"fetch_version": false
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ufd03 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
|
|
|
"type": "azfunc"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "red",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"display_mode": "files",
|
|
|
|
"fetch_version": true
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
|
|
|
"type": "ruby"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightYellow",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
|
|
|
|
"type": "kubectl"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "lightYellow",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"display_mode": "files",
|
|
|
|
"fetch_virtual_env": false
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
|
|
|
"type": "python"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background_templates": [
|
2022-05-06 13:23:24 -07:00
|
|
|
"{{if contains \"default\" .Profile}}yellow{{end}}",
|
|
|
|
"{{if contains \"jan\" .Profile}}magenta{{end}}"
|
2022-04-29 14:22:12 -07:00
|
|
|
],
|
2022-05-06 13:23:24 -07:00
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"display_default": false
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
|
|
|
|
"type": "aws"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "yellow",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"time_format": "Mon | 15:04:05"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"template": " {{ .CurrentDate | date .Format }} ",
|
|
|
|
"type": "time"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "cyan",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"properties": {
|
|
|
|
"style": "austin",
|
|
|
|
"threshold": 0
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"template": " {{ .FormattedMs }} ",
|
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "executiontime"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "magenta",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"properties": {
|
|
|
|
"branch_icon": "\ue725 ",
|
|
|
|
"fetch_stash_count": true,
|
|
|
|
"fetch_status": true,
|
|
|
|
"fetch_upstream_icon": true,
|
|
|
|
"fetch_worktree_count": true
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"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 }} ",
|
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "git"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"foreground": "cyan",
|
2022-04-29 14:22:12 -07:00
|
|
|
"style": "plain",
|
|
|
|
"template": " \u255a",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "blue",
|
|
|
|
"background_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"properties": {
|
|
|
|
"always_enabled": true
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"template": "{{ if gt .Code 0 }} \uf7d3 {{ else }} \uf004{{ end }}",
|
|
|
|
"type": "exit"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "blue",
|
|
|
|
"foreground": "black",
|
2022-04-29 14:22:12 -07:00
|
|
|
"powerline_symbol": "\ue0bc",
|
|
|
|
"properties": {
|
|
|
|
"folder_icon": "\uf07b",
|
|
|
|
"folder_separator_icon": " \uf554 ",
|
|
|
|
"home_icon": "\uf7db",
|
|
|
|
"max_depth": 3,
|
|
|
|
"style": "agnoster_short"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-05-06 13:23:24 -07:00
|
|
|
"template": "{{ if gt .Code 0 }} {{ else }}{{ end }}\ue5ff {{ .Path }} ",
|
2022-04-29 14:22:12 -07:00
|
|
|
"type": "path"
|
|
|
|
},
|
|
|
|
{
|
2022-05-06 13:23:24 -07:00
|
|
|
"background": "blue",
|
|
|
|
"background_templates": ["{{ if .Root }}red{{ end }}"],
|
|
|
|
"foreground": "white",
|
2022-04-29 14:22:12 -07:00
|
|
|
"properties": {
|
|
|
|
"root_icon": "\uf292"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-05-06 13:23:24 -07:00
|
|
|
"template": "{{ if .Root }} \uf0e7 {{ else }}\u0008{{ end }}",
|
2022-04-29 14:22:12 -07:00
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "text"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"console_title_template": "{{ .Folder }}",
|
|
|
|
"osc99": true,
|
|
|
|
"palette": {
|
2022-05-06 13:23:24 -07:00
|
|
|
"black": "#1B1A23",
|
|
|
|
"blue": "#9580FF",
|
|
|
|
"black-background": "#22212C",
|
|
|
|
"lightBlue-brightBlue": "#AA99FF",
|
|
|
|
"lightCyan-brightCyan": "#99FFEE",
|
|
|
|
"lightGreen-brightGreen": "#A2FF99",
|
|
|
|
"lightMagenta-brightPurple": "#FF99CC",
|
|
|
|
"lightRed-brightRed": "#FFAA99",
|
|
|
|
"lightWhite-brightWhite": "#FFFFFF",
|
|
|
|
"lightYellow-brightYellow": "#FFFF80",
|
|
|
|
"selection-selectionBackground": "#454158",
|
|
|
|
"comment-brightBlack": "#7970A9",
|
|
|
|
"cyan": "#80FFEA",
|
|
|
|
"green": "#8AFF80",
|
|
|
|
"magenta-purple": "#FF80BF",
|
|
|
|
"red": "#FF9580",
|
|
|
|
"white-cursorColor-foreground": "#F8F8F2",
|
|
|
|
"yellow": "#FFCA80"
|
2022-04-29 14:22:12 -07:00
|
|
|
},
|
|
|
|
"version": 2
|
|
|
|
}
|