Add SSH Identifyer

This commit is contained in:
2026-04-29 09:53:41 +10:00
parent 7f3738fb62
commit 7ee20200b7
+11 -3
View File
@@ -12,6 +12,14 @@
"type": "prompt", "type": "prompt",
"alignment": "left", "alignment": "left",
"segments": [ "segments": [
{
"type": "session",
"style": "diamond",
"foreground": "#ffffff",
"background": "#c386f1",
"leading_diamond": "\uE0B6",
"template": "{{ if .SSHSession }}\uEBA9 {{ .UserName }}@{{ .HostName }}{{ end }} "
},
{ {
"template": "{{ if .WSL }}WSL at{{ end }} {{.Icon}} ", "template": "{{ if .WSL }}WSL at{{ end }} {{.Icon}} ",
"foreground": "#ffffff", "foreground": "#ffffff",
@@ -77,15 +85,15 @@
{ {
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
"fetch_virtual_env": false "fetch_virtual_env": false,
"tooling": ["uv", "pyenv", "python", "python3", "py"]
}, },
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#111111", "foreground": "#111111",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"background": "#FFDE57", "background": "#FFDE57",
"type": "python", "type": "python",
"style": "powerline", "style": "powerline"
"tooling": ["uv", "pyenv", "python", "python3", "py"]
}, },
{ {
"properties": { "properties": {