Filter .*\( and \).* in VENV if it is present#30
Conversation
|
#29 Which python venv manager are you using? This may need re-arranging fallback order of env vars to read from. (e.g. a different var). This seems to me a bit of hard code. |
|
I use the I agree it can look a bit messy. Maybe we can separate or format it more clearly using custom prompt expressions |
|
It is strange that I could not reproduce this error you mentioned. using Python 3.14, |
I ran a quick check using Python 3.8.20
Python 3.9.25
Python 3.10.19
Python 3.11.14
Python 3.12.12
Python 3.13.9
Python 3.14.0
|
When I activate a Python virtual environment created with the venv module, I expect to see:


but instead I get:
This change removes any characters and brackets (if present) that should appear in the prompt