Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Default Profile do not actually open gitbash. After relaunch, on startup, it just keeps open PowerShell #123684

Closed
manolis12341234 opened this issue May 12, 2021 · 2 comments
Assignees

Comments

@manolis12341234
Copy link

Issue Type: Bug

  1. OS: Windows 10
  2. Download/Install VScode
  3. Open integrated terminal (PowerShell) - ctrl+`
  4. Add new Terminal: Git Bash
  5. Select Git Bash Terminal
  6. Select Default Profile: Git Bash
  7. Go back to powershell - kill/destroy it.
  8. Let terminal (git bash) open
  9. (do not close terminal) close VS code
  10. Relaunch VS code

It should launch with gitbash terminal. Instead it opens PowerShell.
If we add new terminal then it opens gitbash

The problem is when running python and there is a virtual environment, vscode runs a command to activate virtual environment through power shell and that command do not recognized through git bash. So Virtual Environment do not activated and needs to activated manually!!
The desired (expected) behaviour should be "open bash git then run activate script then (virtual enviroment)-interpreter is selected"

VS Code version: Code 1.56.1 (e713fe9, 2021-05-06T10:08:05.141Z)
OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 x 2808)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.95GB (3.23GB free)
Process Argv --crash-reporter-id 2ca24900-0b24-4633-a462-02357d811a6c
Screen Reader no
VM 0%
Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt700cf:30270857
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
bridgeflightcf:30299255

@meganrogge
Copy link
Contributor

Will be fixed as of tomorrow on Insider's via #123729

@msieurtoph
Copy link

Hi @meganrogge ,
This issue is not fixed.
I am using vscode 1.57.1 (Windows_NT x64 10.0.19042) and it keeps opening powershell instead of gitbash at startup.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants