From 956ad563b633a4a707c42789b87a4f6734916355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=9A=D0=BE?= =?UTF-8?q?=D0=B6=D0=BE=D0=BA=D0=B0=D1=80=D1=8C?= <2korzhik@gmail.com> Date: Wed, 9 Apr 2025 04:13:10 +0300 Subject: [PATCH] feat: Show active virtual environment info in prompt --- zen.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zen.toml b/zen.toml index 7edb6f0..f3d6675 100644 --- a/zen.toml +++ b/zen.toml @@ -9,6 +9,11 @@ console_title_template = '{{ .Shell }} in {{ .Folder }}' alignment = 'left' newline = true + [[blocks.segments]] + type = "python" + style = "plain" + template = '{{ if .Error }}{{ .Error }}{{ else }}({{ if .Venv }}{{ .Venv }}{{ else }}{{ .Full }}{{ end }}) {{ end }}' + [[blocks.segments]] type = 'path' style = 'plain'