Add setting to disable prepending venv prompt to PS1 #24014
Labels
area-terminal
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
I am using Starship (https://starship.rs/) as prompt. When I run
source .venv/bin/activate
in a regular terminal, my prompt becomes:but when vscode-python activates the env, the prompt becomes:
This is probably caused by this being part of the environment changes done by this extension:
PS1=(.venv) ${env:PS1}
I could disable the "python.terminal.activateEnvironment" setting and activate the environment some other way, but I like it that this extension does that and would like to keep it that way.
Could an option be added to disable the PS1 change?
The text was updated successfully, but these errors were encountered: