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

Initial terminal loads powershell, with Bash set as default. #123259

Closed
jaaneh opened this issue May 7, 2021 · 2 comments
Closed

Initial terminal loads powershell, with Bash set as default. #123259

jaaneh opened this issue May 7, 2021 · 2 comments

Comments

@jaaneh
Copy link

jaaneh commented May 7, 2021

  • VS Code Version: 1.56.0
  • OS Version: Win 10 20H2

Does this issue occur when all extensions are disabled?: Yes

After the recent update to 1.56.0, the initial terminal load when I open VSCode is always powershell. Any further opens of the terminal via shortcut or Terminal -> New Terminal opens the correctly Bash terminal.

My settins.json includes these settings.

"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.automationShell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",

This is only an issue when I first opens VSCode. I then have to close and re-open the terminal for the correct shell to open.

@vscodebot
Copy link

vscodebot bot commented May 7, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@jaaneh
Copy link
Author

jaaneh commented May 7, 2021

Switching back to shell.windows solved the issue for me. Will live with the deprecated warning until #123174 is merged.

"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"

@jaaneh jaaneh closed this as completed May 7, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jun 21, 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

1 participant