QUESTION :
I’d like to prevent the Mac Terminal program from beeping, for example when there are multiple possible completions when I hit TAB. I looked in the preferences, but there’s nothing about beeping.
ANSWER :
In OS X Leopard (10.5 and later)
- Open Terminal.
- On the menu go to Terminal > Preferences.
- Open Settings > Advanced (“Profiles” tab for Big Sur)
- Un-check the “Audible Bell” option. (You can also set “visible bell” which will cause your terminal to flash instead of beep)
In OS X Tiger (10.4 and earlier):
- Open Terminal.
- On the menu go to Terminal > Window Settings.
- In the Terminal Inspector window click on the drop-down list and select Emulation.
- Un-check the “Audible Bell” option. (You can also set “visible bell” which will cause your terminal to flash instead of beep)
I’m presuming you have Leopard, whose terminal is greatly improved over Tiger’s.
Terminal menu –> Preferences –> Settings tab –> Advanced –> Bell.
Untick “Audible bell”
(btw, mine doesn’t beep as far as I can tell, even though that setting is enabled for me)
put “set bell-style visible” in your ~/.bashrc
The process is a bit different in El Capitan.
OS X El Capitan (10.11)
- Open Terminal.
- On the menu go to Terminal > Preferences.
- Choose the Profile tab
- Choose the profile from the left panel.
- Un-check the Audible Bell option.