Mac command emulator windows

broken image

It preserves tab names, the current working directory, and even the shell history. The Terminal saves tabs and sessions when you close the project or IntelliJ IDEA. To run multiple sessions inside a tab, right-click the tab and select Split Vertically or Split Horizontally in the context menu. Start a new sessionĬlick on the toolbar to start a new session in a separate tab. For information about changing the default start directory, see Configure the terminal emulator.Īlternatively, you can right-click any file (for example, in the Project tool window or any open tab) and select Open in Terminal from the context menu to open the Terminal tool window with a new session in the directory of that file. Open the Terminal tool windowįrom the main menu, select View | Tool Windows | Terminal or press Alt+F12.īy default, the terminal emulator runs with the current directory set to the root directory of the current project. For information about changing the shell, see Configure the terminal emulator.

broken image
broken image

Initially, the terminal emulator runs with your default system shell, but it supports many other shells, such as Windows PowerShell, Command Prompt cmd.exe, sh, bash, zsh, csh, and so on.