Skip to content

Instantly share code, notes, and snippets.

@unclecheese
Last active August 29, 2015 14:06
Show Gist options
  • Save unclecheese/7a539a8dc7b7d332bc83 to your computer and use it in GitHub Desktop.
Save unclecheese/7a539a8dc7b7d332bc83 to your computer and use it in GitHub Desktop.
#!/bin/sh
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh > ~/git-prompt.sh
curl https://gist.githubusercontent.com/unclecheese/acdf2139a348d0c73910/raw/4192c8f5e81d088d8559920878cfa448fd1e7644/.bash_profile >> ~/git-prompt.sh
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/git-completion.bash
chmod +x ~/git-prompt.sh
chmod +x ~/git-completion.bash
echo "
source ~/git-prompt.sh
. ~/git-completion.bash
" >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment