Skip to content

Instantly share code, notes, and snippets.

@Surgo
Created June 5, 2011 03:19
Show Gist options
  • Save Surgo/1008611 to your computer and use it in GitHub Desktop.
Save Surgo/1008611 to your computer and use it in GitHub Desktop.
bash_completion for mercurial and git
sudo curl -o /opt/local/etc/bash_completion.d/mercurial "http://selenic.com/hg/raw-file/cd31a1cc1521/contrib/bash_completion"
sudo curl -o /opt/local/etc/bash_completion.d/git "http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/completion/git-completion.bash;hb=HEAD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment