Is there any way to make Bash tab complete case insensitively?
$ bash --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) Copyright (C) 2007 Free Software Foundation, Inc.
I am using Mac OS X 10.6
You should be able to use:
set completion-ignore-case on
add it to
Building on @ClayBridges' comment: To make the setting persistent, as an alternative to editing
to a shell profile file such as
Note that such commands in your profile take precedence over any defined in either
(A related command that makes completion of file and directory names easier is:
This makes it unnecessary to press Tab twice when there is more than one match.)