replace unicode escape codes with the corresponding unicode characters

This commit is contained in:
Brennen Raimer
2024-11-15 19:15:38 -05:00
parent 8da12d930e
commit 0608c7951b

View File

@@ -10,7 +10,7 @@
"properties": {
"cache_duration": "none"
},
"leading_diamond": "\u256d\u2500\ue0b2",
"leading_diamond": "╭─",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"foreground": "#000000",
"background": "#d3d7cf",
@@ -20,34 +20,34 @@
{
"properties": {
"cache_duration": "none",
"folder_icon": "\ue5ff",
"folder_separator_icon": "\ue0b9",
"home_icon": "\ueb06",
"folder_icon": "",
"folder_separator_icon": "",
"home_icon": "",
"mapped_locations": {
"C:\\Users": "\uf007",
"C:\\Windows": "\ue62a"
"C:\\Users": "",
"C:\\Windows": ""
},
"mixed_threshold": 8,
"style": "mixed"
},
"template": " {{ path .Path .Location }} ",
"foreground": "#e4e4e4",
"powerline_symbol": "\ue0b0",
"powerline_symbol": "",
"background": "#3465a4",
"type": "path",
"style": "powerline"
},
{
"properties": {
"branch_icon": "\uf126 ",
"branch_icon": " ",
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ 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 }} ",
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"powerline_symbol": "",
"background": "#4e9a06",
"type": "git",
"style": "powerline",
@@ -69,9 +69,9 @@
"cache_duration": "none",
"fetch_version": true
},
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} \ue718 ",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#689f63",
"type": "node",
"style": "powerline",
@@ -82,9 +82,9 @@
"cache_duration": "none",
"fetch_version": true
},
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue627 ",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#00acd7",
"type": "go",
"style": "powerline",
@@ -95,9 +95,9 @@
"cache_duration": "none",
"fetch_version": true
},
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#4063D8",
"type": "julia",
"style": "powerline",
@@ -110,9 +110,9 @@
"fetch_virtual_env": true,
"home_enabled": true
},
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#FFDE57",
"type": "python",
"style": "powerline",
@@ -124,9 +124,9 @@
"display_mode": "files",
"fetch_version": true
},
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 ",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#AE1401",
"type": "ruby",
"style": "powerline",
@@ -138,9 +138,9 @@
"display_mode": "files",
"fetch_version": false
},
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#FEAC19",
"type": "azfunc",
"style": "powerline",
@@ -151,9 +151,9 @@
"cache_duration": "none",
"display_default": false
},
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad ",
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"type": "aws",
"style": "powerline",
"background_templates": [
@@ -166,9 +166,9 @@
"properties": {
"cache_duration": "none"
},
"template": " \uf0ad ",
"template": " ",
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#ffff66",
"type": "root",
"style": "powerline",
@@ -178,9 +178,9 @@
"properties": {
"cache_duration": "none"
},
"template": " {{ .FormattedMs }} \uf252 ",
"template": " {{ .FormattedMs }} ",
"foreground": "#000000",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"background": "#c4a000",
"type": "executiontime",
"style": "powerline",
@@ -189,7 +189,7 @@
{
"type": "shell",
"style": "powerline",
"powerline_symbol": "\ue0b2",
"powerline_symbol": "",
"invert_powerline": true,
"foreground": "#ffffff",
"background": "#0077c2",
@@ -210,10 +210,10 @@
"always_enabled": true,
"cache_duration": "none"
},
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}\uf42e{{ end }} ",
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}{{ end }} ",
"foreground": "#000000",
"background": "#d3d7cf",
"trailing_diamond": "\ue0b0",
"trailing_diamond": "",
"type": "status",
"style": "diamond",
"background_templates": [
@@ -225,7 +225,7 @@
"properties": {
"cache_duration": "none"
},
"template": "{{ if matchP \"(powershell|pwsh|fish|cmd|nu|zsh)\" .Shell }}\u2500\u256e{{ end }}",
"template": "{{ if matchP \"(powershell|pwsh|fish|cmd|nu|zsh)\" .Shell }}─╮{{ end }}",
"foreground": "#d3d7cf",
"type": "text",
"style": "plain"
@@ -240,7 +240,7 @@
"properties": {
"cache_duration": "none"
},
"template": "\u2570\u2500",
"template": "╰─",
"foreground": "#d3d7cf",
"type": "text",
"style": "plain"
@@ -255,7 +255,7 @@
"properties": {
"cache_duration": "none"
},
"template": "\u2500\u256f",
"template": "─╯",
"foreground": "#d3d7cf",
"type": "text",
"style": "plain"