Skip to content

Instantly share code, notes, and snippets.

@dcparker
Created September 17, 2009 16:31
Show Gist options
  • Save dcparker/188567 to your computer and use it in GitHub Desktop.
Save dcparker/188567 to your computer and use it in GitHub Desktop.
curl "http://repo.or.cz/w/git.git?a=blob_plain;f=contrib/completion/git-completion.bash;h=4ea727b14303e397117067993dbda446ed154ea1;hb=HEAD" > ~/.git_bash_completion.sh
chmod +x ~/.git_bash_completion.sh
echo " source ~/.git_bash_completion.sh
#PS1='$PS1'
PS1='\\W \$(__git_ps1 \"(%s) \")\\\$ '" >> ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment