WordPress Quick Tips

Case-insensitive tab completion in the Mac OS X Terminal

Posted by: Vincent on: December 28, 2010

If you are like me, you use the Terminal a lot. By default the terminal has case-sensitive tab completion, meaning that if you type ‘s’ and press tab it would not suggest a file/folder called ‘S’.

Luckily, this is quite an easy fix.

Create, or if you already have it; edit, a file called .inputrc in your ‘Home’ folder.

In it write:

set completion-ignore-case On

Restart Terminal and you are done!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

About

WordPress Quick Tips is a blog supplying great tips about WordPress.

We hope to create a great knowledge resource for WordPress developers as well as serving a reminder for all the forgetful ones.

The blog is created and run by Vincent of Oakwood Creative

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 86 other followers

Follow

Get every new post delivered to your Inbox.

Join 86 other followers