Search code examples
iterm2

Iterm2 saving command history in ssh session


Toobelt-Command History

While using Toobelt-Command History, how to log the history commands in ssh? I can only see local history commands.


Solution

  • You need to install the shell integration on the the machine you are sshing into. You then will have command history for that machine.

    curl -L https://iterm2.com/misc/install_shell_integration.sh | bash