iTerm2 – Disable Beep/Bell Sound on MacBook

belliterm2macnotificationsterminal

The shell in macbook makes annoying beep/bell/boop sounds.

For the OEM terminal, this answer works on disabling this annoying sounds:
https://stackoverflow.com/questions/19166539/i-want-to-disable-beep-sound-in-terminal-mac-osx

However, I could not figure out how to do this for iTerm2.

I have notifications for iTerm2 disabled in System Preferences -> Notifications -> iTerm but that doesn't seem to work.

Best Answer

To disable the bell sound in iTerm2, do this:

  • iTerm2 -> Preferences -> Profiles
  • Under Terminal tab, you will see Notifications header. Toggle the Silence bell option.

enter image description here

EDIT: Please note that intuitively you might think that you want the Silence bell to be checked, but if it's already checked then unchecking it will resolve your issue. So, basically toggling it seems to be the key.

Related Question