In Vim, one can combine the following commands,
:set smartcase +
:set ignorecase, to make searching case-insensitive unless there is a capitalized letter in the search query, in which case it is case-sensitive.
In bash, one can make auto-completion case-insensitive by adding
set completion-ignore-case on into their
Is there anyway to get the conditional case-sensitivity behavior similar to Vim's
ignorecase searching for bash auto-completion?