idea中Terminal设置为git中的bash

intellij idea官方配置地址:https://www.jetbrains.com/help/idea/terminal-emulator.html

In the Settings/Preferences dialog Ctrl+Alt+S, select Tools | Terminal.

  • Bash: /bin/bash
  • Bash for Windows: bash.exe
  • PowerShell: powershell
  • Command Prompt: cmd.exe
  • Cygwin: "C:\cygwin\bin\bash.exe" --login -i
  • Zsh: /bin/zsh

idea中Terminal设置为git中的bash