MPS 2017.3 Help

Terminal

File | Settings | Tools | Terminal for Windows and Linux
MPS | Preferences | Tools | Terminal for macOS
N/A settings


While the default shell in MPS't terminal (N/A) works fine, many developers prefer to use their favorite shell. For example, Windows users may want to use PowerShell or Cmder, Linux and macOS users may want to use zsh instead of the default terminal shell. On this settings page, you can customize which shell will be used in the terminal.

ItemDescription
Start directory Specify the working directory where the terminal will be launched.
Shell path Specify the shell that will run by default. Here are some values for different shells:
  • PowerShell: powershell
  • Cmder: "cmd" /k ""\vendor\init.bat"" (note the CMDER_ROOT environment variable has to be set)
  • Cygwin: "C:\cygwin\bin\bash.exe" --login -i
  • Zsh: /bin/zsh
  • Bash: /bin/bash (or bash for Windows: bash.exe)
Tab nameSpecify the default name of a new session tab. Note that a session tab can be renamed.
Audible bellIf this option is selected, the console plays the bell sound on incoming escape sequence.
Close session when it endsIf this option is selected, the current session ends automatically when the corresponding process ends (for example, by kill).
Mouse reportingIf this option is selected, the embedded local terminal supports the mouse pointer.
Copy to clipboard on selectionIf this option is selected, the text selected in the Terminal is automatically copied to clipboard.
Paste on middle mouse button clickIf this option is selected, you can paste clipboard contents by clicking the middle mouse button.
Override IDE shortcutsIf this option is selected, the Terminal tool window handles keyboard shortcuts differently from MPS.
If this checkbox is cleared, the MPS key bindings are used.
Shell integrationIf this option is selected, the terminal first loads a custom rc config file (located in the terminal folder under plugins of MPS distribution) which provides an additional set-up, and then the user's rc file.

Note that presently shell integration works for Bash/sh (bashrc), zsh(zshrc) and fish shell (config.fish).

Last modified: 6 December 2017