Last active
February 22, 2016 21:19
-
-
Save 0x10FF/2ea30f1f5330f765bdf9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install with brew | |
brew install git | |
# Completion, in this snippet git version installed was 2.3.6 | |
edit ~/.bash_profile | |
... | |
source /usr/local/Cellar/git/2.3.6/etc/bash_completion.d/git-prompt.sh | |
source /usr/local/Cellar/git/2.3.6/etc/bash_completion.d/git-completion.bash | |
... | |
#done | |
# Decorate your terminal? | |
PS1='[\u@\h \w$(__git_ps1 " (%s)")]\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment