Case-insesnitive tab auto-complete in the Terminal
November 18, 2018
For a User
Add the following at the end of your ~/.bashrc (Linux) or ~/.bash_profile (macOS) file.
code
# Case-insensitive Tab auto-complete
$include /etc/inputrc
set 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
code
sudo nano /etc/inputrc
Add the following at the end of the file
code
# Case-insensitive Tab auto-complete
set completion-ignore-case on