Skip to content

Instantly share code, notes, and snippets.

@daviddmr
Last active October 8, 2019 16:02
Show Gist options
  • Select an option

  • Save daviddmr/569a772d48d20ccd6f0f27e08e58c5f4 to your computer and use it in GitHub Desktop.

Select an option

Save daviddmr/569a772d48d20ccd6f0f27e08e58c5f4 to your computer and use it in GitHub Desktop.
sudo nano ~/.inputrc
# Copy and past
set completion-ignore-case on
set show-all-if-ambiguous on
TAB: menu-complete
# Save the file
## To enable auto-complete for git commands
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
# Open your ~/.bash_profile file and include this code
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment