How do I make GitHub Copilot in VS Code use bash instead of my default fish shell?

Help/Doubt ❓

I’m on WSL2 and my default shell is fish (VS Code). I want GitHub Copilot (e.g., when using “Run in Terminal” from Copilot Chat) to run commands in bash (os default)

I tried:

    "terminal.integrated.automationProfile.linux": {
        "path": "/bin/bash"
    },
    "terminal.integrated.defaultProfile.linux": "fish"

…but that didn’t work

Is there a way to force Copilot to use bash for its commands while keeping fish as my default shell in Vscode?

Posted Nov 10, 2025, 12:13 PM UTC

32
Loading comments…