Created
February 8, 2009 01:27
-
-
Save Aupajo/60132 to your computer and use it in GitHub Desktop.
git ps1 and completion on leopard
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
curl -o ~/.git-completion.bash http://github.com/git/git/raw/master/contrib/completion/git-completion.bash | |
echo "source ~/.git-completion.bash" >> ~/.profile | |
echo "export PS1='\u:\W\$(__git_ps1 \"\[\e[32m\][%s]\[\e[0m\]\")$ '" >> ~/.profile | |
source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment