- Fork the repository
- git clone the forked repo into
~/dotfiles
- Modify
.gitconfig
to match your user information (username, email, name) and commit the change to your forked repo cd ~/dotfiles
./sync
, this will symlink files to your home directory- Add the following line to your .bashrc/.zshrc:
source ~/.git-completion.bash
- Add the following line to your .bashrc/.zshrc:
source ~/.git-prompt.sh
- Consider changing your PS1 to also show the current branch. See https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh for details
- Enjoy!