Skip to content

Instantly share code, notes, and snippets.

@tacsio
Created March 15, 2013 19:19
Show Gist options
  • Save tacsio/5172341 to your computer and use it in GitHub Desktop.
Save tacsio/5172341 to your computer and use it in GitHub Desktop.
#!/bin/bash -
#===============================================================================
#
# FILE: script-completion.sh
#
# USAGE: ./script-completion.sh
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Tarcisio Coutinho - tarcisio.coutinho@ufpe.br
# ORGANIZATION:
# CREATED: 03/08/2013 01:38:43 PM BRT
# REVISION: ---
#===============================================================================
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.sh
echo "if [ -f ~/.git-completion.sh ]; then
. ~/.git-completion.sh
fi" >> ~/.bashrc
@tacsio
Copy link
Author

tacsio commented Oct 23, 2013

Usage

curl https://gist.github.com/tacsio/5172341/raw/36e515c3669e2a162a32024c0d00176b52c3214a/script-completion.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment