Case insensitive autocomplete in OSX terminal

I’ve been spending a bit more time in the OSX terminal, and one little annoyance is that the autocomplete is case sensitive. Since many folders are capitalized, it’s just not as fast as I’d want it to be when I’m trying to navigate through the folders.

Luckily, there’s an easy fix!

Open up your terminal, and throw in:
echo "set completion-ignore-case On" >> ~/.inputrc

Restart Terminal, and you’re set!

(Credit)