Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bash Git Prompt and Completion integration for Mac OS X Mavericks (Xcode required)
if [ -f /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash ]; then
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash
fi
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh
GIT_PS1_SHOWUPSTREAM="auto"
GIT_PS1_SHOWCOLORHINTS="yes"
export PROMPT_COMMAND='__git_ps1 "\u@\h:\W" "\\\$ ";'
@burpnoes

This comment has been minimized.

Copy link
Owner Author

burpnoes commented Mar 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.