iTerm2 may be integrated with the unix shell so that it can keep track of your command history, current working directory, host name, and more--even over ssh. This enables several useful features. How To Enable Shell Integration The easiest way to install shell integration is to select the iTerm2>Install Shell Integration menu item. It will download and run a shell script as described below. You s
![Shell Integration - Documentation - iTerm2 - macOS Terminal Replacement](https://cdn-ak-scissors.b.st-hatena.com/image/square/42198330358d645d5a5486c8663fa48bbe5bf2fa/height=288;version=1;width=512/https%3A%2F%2Fiterm2.com%2Fimages%2FDownloadsMenu.png)