1
0
Fork 0

Make pyenv indicator prettier

This commit is contained in:
Luca Bilke 2022-08-23 17:56:14 +02:00
parent 504d52b78d
commit 6e59a83feb
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ def draw_tab(
try:
with open(f"/tmp/current_venv-{active_pid}", "r") as f:
env = f.read()
if env != "":
env = f"{env}"
except FileNotFoundError:
env = ""
cells = [(text_fg, env)]