How to get rid of this trailing half circle? #5952
-
Wont let me add my image to this discussion, so I uploaded it here. https://imgur.com/a/Rlv3GdX I see this trailing symbol half circle after I see it in Windows Terminal and vs code terminal. custom {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#f1184c",
"foreground": "#242424",
"powerline_symbol": "\ue0c4",
"style": "powerline",
"template": "\uf0e7",
"type": "root"
},
{
"background": "#282c34",
"foreground": "#3A86FF",
"leading_diamond": " ",
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os"
},
{
"background": "#242424",
"foreground": "#FFBB00",
"powerline_symbol": "\ue0c4",
"properties": {
"time_format": "15:04:05"
},
"style": "powerline",
"template": "{{ .CurrentDate | date .Format }} ",
"type": "time"
},
{
"background": "#242424",
"foreground": "#429ef5",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_separator_icon": "/",
"style": "powerlevel"
},
"style": "powerline",
"template": "\ue5ff {{ .Path }} ",
"type": "path"
},
{
"background": "#242424",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
"foreground": "#6cf542",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#0a0a09{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#0a0a09{{ end }}",
"{{ if gt .Ahead 0 }}#0a0a09{{ end }}",
"{{ if gt .Behind 0 }}#0a0a09{{ end }}"
],
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
},
{
"background": "#0184bc",
"foreground": "#ffffff",
"powerline_symbol": "\ue0c4",
"style": "powerline",
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{.Major}}.{{.Minor}}</>{{ end }} ",
"type": "dotnet"
},
{
"background": "#8800dd",
"foreground": "#ffffff",
"powerline_symbol": "\ue0c4",
"properties": {
"style": "austin",
"threshold": 1
},
"style": "powerline",
"template": " <#fefefe>\ueba2</> {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "p:background-color",
"foreground": "p:cloud-text-amazon",
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": " <p:symbol-color>\uf270</> {{.Profile}}{{if .Region}} \uf061 {{.Region}}{{end}}",
"type": "aws"
},
{
"background": "p:background-color",
"foreground": "p:cloud-text-azure",
"properties": {
"source": "cli"
},
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": " <p:symbol-color>\uebd8</> {{ .Name }}",
"type": "az"
},
{
"background": "p:background-color",
"foreground": "p:cloud-text-azure",
"properties": {
"source": "pwsh"
},
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": " <p:symbol-color>\uebd8</> (PS) {{ .Name }}",
"type": "az"
},
{
"background": "p:background-color",
"foreground": "p:cloud-text-gcp",
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": " <p:symbol-color>\ue7b2</> {{ .Project }}",
"type": "gcp"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#f1184c",
"style": "plain",
"template": "\u279c ",
"type": "text"
}
],
"type": "prompt"
}
],
"console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}",
"version": 2
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
What exactly are you trying to do with it ? If it's just to get rid of the semi circles, I'd start with converting the azure segment to |
Beta Was this translation helpful? Give feedback.
-
Actually, turns out I was missing the
|
Beta Was this translation helpful? Give feedback.
Actually, turns out I was missing the
palette
as I had copied over the aws & az segments fromcloud-context.omp.json