Why the composer default shell is power shell?

I am writing some bash script, and ask composer to run it and fix any issues found during running.
But I encounter another issue, my bash script could not run well in the power shell env of cursor composer agent.
Is there any way to change the composer shell env to bash or zsh?

Hey, you can set the default terminal in the settings by adding this line: "terminal.integrated.defaultProfile.windows". You can read more about terminal configuration here:

great thanks, and it works now.

hey ! the defaultSettings.json is read only file, and currently it is showing

null

in front of

“terminal.integrated.defaultProfile.windows”

How to set default agent terminal to be git bash

You need to open the settings.json file. The defaultSettings.json file contains the default settings. However, to change the default terminal, you can find information here.

That worked ! Thank you so much !!