Saturday, March 19, 2016

Centos Command-line Tricks and Tips - Getting Rid of the Terminal Beep

Getting Rid of the Terminal Beep:

My terminal was making an annoying beeping (more like a swoosh beep, actually) every time it couldn't match a tab completion.  I like to listen to music while I work, so this was really driving me crazy.  All I needed to do to stop it was to run:
$ echo 'set bell-style none' >> ~/.inputrc
which appends 'set bell-style none' to the .inputrc file in my home directory.  .inputrc didn't exist in my home directory (I checked before running the command), so running this command created it.
After exiting the terminal and starting another, the terminal maintained the silence I wanted it to ;-)

No comments:

Post a Comment