Enable Tab Completion on Mac OS X Terminal

The Mac OS Terminal doesn’t have tab completion enabled by default. If you find yourself using the terminal often, you’ll want to turn this feature on, since it’s a pretty awesome way to make your life a little easier.

First, launch Terminal and enter

cd ~/ && nano .inputrc

Paste in the following three lines of rules:

set completion-ignore-case on
set show-all-if-ambiguous on
TAB: menu-complete

Press Control+X then Y to exit and save changes.

Close and relaunch Terminal for Tab Completion to be enabled.

Leave a Reply

Your email address will not be published. Required fields are marked *