Vs code terminal changes to powershell every time

Viewed 402

After Vs code update 1.60.0 terminal opens powershell but default remain same (git bash). If I create new terminal then it opens git bash.

when I start the app it looks likes:-

enter image description here

then I have to create new shell & it opens the default shell (git bash):-

enter image description here

1 Answers

Try first and set terminal.integrated.defaultProfile.windows to bash (if you want bash by default)

bash

That way, you don't have to switch from your current default Powershell terminal.

... Provided microsoft/vscode issue 132149 is fixed, which is not the case, yet.
This is a duplicate of issue 132150, which is now fixed by commit c765e70, by Megan Rogge.

    async createTerminal(options?: ICreateTerminalOptions): Promise<ITerminalInstance> {
        if (!this._availableProfiles) {
            await this._refreshAvailableProfiles();
        }

Update Sept. 14th (2021): this is now fixed, with VSCode 1.60.1, and its August 2021 Endgame Recovery.

Related