bash-git-prompt icon indicating copy to clipboard operation
bash-git-prompt copied to clipboard

Fix ignored GIT_PROMPT_WITH_VIRTUAL_ENV

Open samuliasmala opened this issue 6 years ago • 0 comments

If Anaconda is installed the conda environment is shown in the prompt even though GIT_PROMPT_WITH_VIRTUAL_ENV=0 is set. The env variable was used only in git_prompt_config() function, not updatePrompt() function. The env variable check was added to gp_add_virtualenv_to_prompt() which is called by both functions.

samuliasmala avatar Jan 30 '19 03:01 samuliasmala