ok fixed it
This commit is contained in:
@@ -195,10 +195,13 @@
|
|||||||
"background": "#0077c2",
|
"background": "#0077c2",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mapped_shell_names": {
|
"mapped_shell_names": {
|
||||||
"pwsh": "\udb82\ude0a pwsh",
|
"pwsh": " pwsh",
|
||||||
"bash": "\uebca bash",
|
"powershell": " PowerShell",
|
||||||
"xonsh": "\uea85 xonsh",
|
"bash": " bash",
|
||||||
"fish": "\uee41 fish"
|
"zsh": " zsh",
|
||||||
|
"xonsh": "🐚 xonsh",
|
||||||
|
"fish": " fish",
|
||||||
|
"cmd": " cmd"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -210,13 +213,22 @@
|
|||||||
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}\uf42e{{ end }} ",
|
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}\uf42e{{ end }} ",
|
||||||
"foreground": "#000000",
|
"foreground": "#000000",
|
||||||
"background": "#d3d7cf",
|
"background": "#d3d7cf",
|
||||||
"trailing_diamond": "\ue0b0\u2500\u256e",
|
"trailing_diamond": "\ue0b0",
|
||||||
"type": "status",
|
"type": "status",
|
||||||
"style": "diamond",
|
"style": "diamond",
|
||||||
"background_templates": [
|
"background_templates": [
|
||||||
"{{ if gt .Code 0 }}#cc2222{{ end }}"
|
"{{ if gt .Code 0 }}#cc2222{{ end }}"
|
||||||
],
|
],
|
||||||
"invert_powerline": true
|
"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