Skip to content

Instantly share code, notes, and snippets.

View rcrews's full-sized avatar

Robert Crews rcrews

View GitHub Profile
@rcrews
rcrews / git-improvements.bash
Last active December 17, 2015 17:28
Enable command completion for git commands. Also, if current directory is under git control, update prompt to show state. Good documentation is in the comments of the downloaded scripts.
#!/bin/bash
#
# Enable command completion for git commands. Also, if current directory is
# under git control, update prompt to show state. Good documentation is in
# the comments of the downloaded scripts below. After running this script,
# source ~/.bash_profile to see the results:
# /bin/bash git-improvements.bash; source ~/.bash_profile
#
curl --create-dirs \