Adding python env to prompt

This commit is contained in:
Zackarias Montell
2025-11-19 08:32:36 +01:00
parent 73792623b4
commit 1e78bfee7e

View File

@@ -51,6 +51,19 @@
"template": "{{ .HEAD }} ", "template": "{{ .HEAD }} ",
"style": "plain", "style": "plain",
"type": "git" "type": "git"
},
{
"background": "#FFDE57",
"foreground": "#111111",
"powerline_symbol": "\ue0b0",
"properties": {
"display_mode": "environment",
"fetch_virtual_env": true,
"home_enabled": true
},
"style": "plain",
"template": " \ue235 {{ if .Venv }}({{ .Venv }}){{ end }} ",
"type": "python"
} }
], ],
"type": "prompt" "type": "prompt"