简体   繁体   中英

How to change the Terminal in Android Studio to iTerm2?

正如标题所说,有什么方法可以在Mac OS上将Android Studio的默认终端更改为iTerm2吗?

I haven't tested it on a Mac, but at least on Windows you can select the shell used by the Terminal window in the Settings Menu (for example from the default cmd.exe to TCC/LE).

I suspect it should be the same way,

File -> Settings -> Terminal -> Shell path

See the IDEA documentation for the Terminal plugin.

For Mac OS

File -> Other Settings -> Preference for New Projects -> Shell path

Windows OS

Please follow @matiash answer.

Alternative

It will work both on Terminal and in Android Studio.

  • To check available shells: available shells run: cat /etc/shells
  • To select your favourite (I am selecting bash): chsh -s /bin/bash

That's all.

Do it on Mac:

go to File/Other Settings/Preferences For New Projects then in Terminal tab, change the "Shell Path" attribute. You may click on the folder icon on the right side of this field and choose your desired shell.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM