Notes
Case-insesnitive tab auto-complete in the Terminal
making tab autocomplete case-insensitive in the terminal with completion-ignore-case in inputrc, per user or system wide
Workflow
For a User
Add the following at the end of your ~/.bashrc (Linux) or ~/.bash_profile (macOS) file.
1# Case-insensitive Tab auto-complete
2$include /etc/inputrc
3set completion-ignore-case on
You may get a Permission denied error. In that case just add it to the system-wide file
For the System
1sudo nano /etc/inputrc
Add the following at the end of the file
1# Case-insensitive Tab auto-complete
2set completion-ignore-case on