Separate shell for running agent commands with GitHub Copilot

I had some problems when my VS Code became stuck multiple times because Agents attempted to run some simple terminal commands, and my CPU flew to the moon. Of course, a reboot helped. But I was also thinking it could be because of my /bin/zsh configuration, which includes Oh My ZSH and the Powerlevel10k theme and takes up to 1 second to load. I had no issues with /bin/bash. I decided to see if it was possible to keep my ZSH shell while instructing agents to use the BASH shell.

There is a solution for settings.json:

"chat.tools.terminal.terminalProfile.osx": {
    "label": "bash",
    "path": "/bin/bash"
}        

Perhaps it would be useful for you as well.

To view or add a comment, sign in

More articles by Serhii Chernenko

Explore content categories