This dotfiles will add a nice PS1 showing your git repository branch and alerting the repo status, and is quite handy to customize.
It also sets up Homebrew's bash-completion
and GNU Core Utils
##Checkout this repo at your $HOME
folder
Using the following commands:
cd $HOME
git clone https://github.com/lourenzo/mac-dotfiles.git
Then you can require the dotfiles in your profile:
cat $HOME/mac-dotfiles/sample.bash_profile >> ~/.profile
Or you can edit your ~/.profile
or ~/.bash_profile
adding the following line:
source $HOME/mac-dotfiles/init.bash
Homebrew is an excellent mac package manager, very useful for developers. To install it, just run the following command:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
Having homebrew installed, just run the following command:
brew install bash-completion
If you are used with GNU commands, used in most GNU/Linux distros and slightly different from BSD core utils mainly in command syntax, you can install it using the following command:
brew install coreutils