Jan
Jan

Reputation: 16164

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

Upvotes: 3

Views: 1379

Answers (2)

pbouf77
pbouf77

Reputation: 223

You can enable/disable the pop-up (in a recent version, anyway) with View > Auto Command Completion.

Upvotes: 3

Jan
Jan

Reputation: 16164

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

Upvotes: 2

Related Questions