Created
September 4, 2012 14:28
-
-
Save waltflanagan/3621660 to your computer and use it in GitHub Desktop.
Git homebrew setup
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
#!/bin/bash | |
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) | |
brew install git bash-completion hub | |
### setup bash_completion | |
echo 'if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi' >> ~/.bash_profile | |
##setup git PS1 | |
#echo "PS1='\[\033[39m\]\u@\h\[\033[00m\]:\[\033[39m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '" >> ~/.bash_profile | |
#set up case-insensitive tab completion | |
echo "set completion-ignore-case on" >> ~/.inputrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment