Skip to content

Python Virtual Environment - Prompt Prepended with virtual env name #390

Discussion options

You must be logged in to vote

@jiaulislam that's controlled by what's in the activate script. If you look at its content, there should be a switch to disable prepending the prompt (they hijack the current prompt). Depending on the type of virtual env you either need export PYENV_VIRTUALENV_DISABLE_PROMPT=1, VIRTUAL_ENV_DISABLE_PROMPT=1 or something different. Best to look at what's in the script on your end ;-)

Replies: 6 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@jiaulislam
Comment options

Comment options

You must be logged in to vote
3 replies
@jiaulislam
Comment options

@doraeric
Comment options

@doraeric
Comment options

Answer selected by JanDeDobbeleer
Comment options

You must be logged in to vote
1 reply
@Antyos
Comment options

Comment options

You must be logged in to vote
3 replies
@JanDeDobbeleer
Comment options

@ghost
Comment options

@JanDeDobbeleer
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants