Environment data
- VS Code version: 1.45.1
- Extension version (available under the Extensions sidebar): 2020.5.80290
- OS and version: Windows 10, build 18363
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.7, python.org
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
- Value of the
python.languageServer setting: Microsoft
Expected behaviour
When opening a new git bash terminal, the pipenv environment is properly activated.
Actual behaviour
jakub@LAPTOP-6R3A0N4R MINGW64 /d/Fiverr_28 (master)
$ source C:/Users/jakub/.virtualenvs/Fiverr_28-MrJNCoYT/Scripts/activate
(Fiverr_28)
which does not activate the environment properly in GitBash
Steps to reproduce:
- Set the default integrated terminal to GitBash
- Create new Pipenv environment
- Set the project interpreter to the adequate venv
- Open a new integrated terminal

What I suggest
Pipenv provides a really useful layer of abstraction and one of it's features is the pipenv shell command, which is not being used in this case. Using this command instead of directly running the activation script would resolve this issue.
The issue #2559 would also be resolved by using pipenv shell instead of directly activating the venv.
Environment data
python.languageServersetting: MicrosoftExpected behaviour
When opening a new git bash terminal, the pipenv environment is properly activated.
Actual behaviour
jakub@LAPTOP-6R3A0N4R MINGW64 /d/Fiverr_28 (master) $ source C:/Users/jakub/.virtualenvs/Fiverr_28-MrJNCoYT/Scripts/activate (Fiverr_28)which does not activate the environment properly in GitBash
Steps to reproduce:
What I suggest
Pipenv provides a really useful layer of abstraction and one of it's features is the
pipenv shellcommand, which is not being used in this case. Using this command instead of directly running the activation script would resolve this issue.The issue #2559 would also be resolved by using
pipenv shellinstead of directly activating the venv.