Skip to content

Environment name missing brackets in newer Python versions in VSCode terminal #503

Description

@leo-maxwell

It's a minor issue generally but it annoys me a little. After installing the latest version 3.13.2 using pyenv install 3.13.2 and pyenv virtualenv 3.13.2 ENV_NAME, the ENV_NAME in VSCode terminal does not have the brackets, as shown in this pic:

Image

However, after pyenv virtualenv uninstall ENV_NAME and pyenv virtualenv 3.12.7 ENV_NAME and restarting the VSCode in the same folder, typing anything in the VSCode terminal will make the prompt look like this, with brackets:

Image

Hence I am curious about it. Why, and how to overcome it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions