Skip to content

Instantly share code, notes, and snippets.

@kbambz
Last active December 22, 2015 18:48
Show Gist options
  • Select an option

  • Save kbambz/6514927 to your computer and use it in GitHub Desktop.

Select an option

Save kbambz/6514927 to your computer and use it in GitHub Desktop.
Install Bash shell auto-completion for Git, as described by http://git-scm.com/book/en/Git-Basics-Tips-and-Tricks#Auto-Completion.
#!/bin/sh
echo "$(curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash)" > ~/.git-completion.bash
echo "source ~/.git-completion.bash" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment