ok fixed it
This commit is contained in:
@@ -195,10 +195,13 @@
|
||||
"background": "#0077c2",
|
||||
"properties": {
|
||||
"mapped_shell_names": {
|
||||
"pwsh": "\udb82\ude0a pwsh",
|
||||
"bash": "\uebca bash",
|
||||
"xonsh": "\uea85 xonsh",
|
||||
"fish": "\uee41 fish"
|
||||
"pwsh": " pwsh",
|
||||
"powershell": " PowerShell",
|
||||
"bash": " bash",
|
||||
"zsh": " zsh",
|
||||
"xonsh": "🐚 xonsh",
|
||||
"fish": " fish",
|
||||
"cmd": " cmd"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -210,13 +213,22 @@
|
||||
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}\uf42e{{ end }} ",
|
||||
"foreground": "#000000",
|
||||
"background": "#d3d7cf",
|
||||
"trailing_diamond": "\ue0b0\u2500\u256e",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "status",
|
||||
"style": "diamond",
|
||||
"background_templates": [
|
||||
"{{ if gt .Code 0 }}#cc2222{{ end }}"
|
||||
],
|
||||
"invert_powerline": true
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": "{{ if matchP \"(powershell|pwsh|fish|cmd|nu|zsh)\" .Shell }}\u2500\u256e{{ end }}",
|
||||
"foreground": "#d3d7cf",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user