Search code examples
iterm2iterm

How to disable history popup in iTerm2?


I am using iTerm 2 for Mac

How can I disable this "history pop up window"?

enter image description here


Solution

  • This history popup window is enabled when you have "iTerm2 Shell Integration" installed: https://iterm2.com/documentation-shell-integration.html

    More detailed: it's the "View command history"-feature:

    It can be seen and searched in the toolbelt or quickly accessed in a popup window.

    You can either:

    • comment ITERM_SHELL_INTEGRATION_INSTALLED=Yes in $HOME/.iterm2_shell_integration.zsh

    or

    • remove the complete Shell integration by removing [[ -e "$HOME/.iterm2_shell_integration.zsh" ]] && source "$HOME/.iterm2_shell_integration.zsh" from your $HOME/.zshrc