Skip to content

Instantly share code, notes, and snippets.

@mrWinston
Created May 3, 2016 09:42
Show Gist options
  • Select an option

  • Save mrWinston/04704b6a4cd05bd117a8cfb4e0d56bea to your computer and use it in GitHub Desktop.

Select an option

Save mrWinston/04704b6a4cd05bd117a8cfb4e0d56bea to your computer and use it in GitHub Desktop.
Enable Case Insensitive Autocompletion Bash #bash #shell #autocomplete #tipp #quick
#taken from: http://askubuntu.com/questions/87061/can-i-make-tab-auto-completion-case-insensitive-in-the-terminal
# If ~./inputrc doesn't exist yet, first include the original /etc/inputrc so we don't override it
if [ ! -a ~/.inputrc ]; then echo "\$include /etc/inputrc" > ~/.inputrc; fi
# Add option to ~/.inputrc to enable case-insensitive tab completion
echo "set completion-ignore-case On" >> ~/.inputrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment