无法在 Android Studio 终端中更改 shell

iDe*_*ode 7 terminal android android-studio macos-big-sur

我的系统终端使用zshshell,但我的 Android Studio 终端使用bash. 跑步时

echo $SHELL
Run Code Online (Sandbox Code Playgroud)

系统终端打印:

/bin/zsh

Android Studio 终端打印:

/bin/bash

我尝试使用以下命令更改 Android Studio 终端中的 shell:

chsh -s /bin/zsh
Run Code Online (Sandbox Code Playgroud)

但它不会改变外壳。这是我运行的命令:

iDecodes-mac:example iDecode$ chsh -s /bin/zsh
Changing shell for iDecode.
Password for iDecode:
chsh: no changes made
iDecodes-mac:example iDecode$ echo $SHELL
/bin/bash
Run Code Online (Sandbox Code Playgroud)

Roh*_*dil 5

适用于 Mac 转到 Android studio -> 首选项 -> 终端 -> shell 路径并选择 /bin/bash -> apply -> ok