Is it possible to control the shell that the AI assistant uses?

It looks like the when the AI assistant tries to run shell commands, it will spin up a bash shell. Is it possible to change this?

I use zsh and have set up for example PATH for that shell, when the AI assistant runs commands it won’t have this PATH available and fails to run some commands because of this.

So far I have tried setting this for example, but it seems to have no effect
“terminal.integrated.defaultProfile.osx”: “zsh”

If I open a shell my self from Cursor’s menu, it does open zsh correctly.

Thanks!

Hey, have you also tried restarting Cursor and starting a new chat?

cc @danperks

I have, yes, several times, but unfortunately no change

Not sure we have setting for this right now, and would have to confirm with the team what the default behaviour is here.

I’ve added this to our internal feedback tracked!

1 Like