-
Fork this project into your own Github account
-
Clone on your machine:
git clone https://github.com/pringshia/bin.git ~/bin
-
Make sure the
.bashrc
file is loaded every time you open the Terminal:echo "if [ -f ~/.bashrc ]; then source ~/.bashrc fi" > ~/.bash_profile
-
Load environment variables, aliases and shell settings:
ln -sf ~/bin/dotfiles/bashrc ~/.bashrc
-
Enter your Github credentials in gitconfig, the load the git settings:
ln -sf ~/bin/dotfiles/gitconfig ~/.gitconfig
-
Load git ignore settings:
ln -sf ~/bin/dotfiles/gitignore ~/.gitignore
-
Load SSH settings:
mkdir -p ~/.ssh ln -sf ~/bin/dotfiles/ssh/config ~/.ssh/config
-
Load git prompt support:
source ~/.bashrc
Follow the instructions here: https://github.com/djl/vcprompt
-
Load diff-so-fancy support:
brew install diff-so-fancy git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
-
Don't track further changes to your private settings:
cd ~/bin git update-index --assume-unchanged ~/bin/dotfiles/bash/env.secret git update-index --assume-unchanged ~/bin/dotfiles/ssh/config
-
Go and edit your aliases, configuration, settings, then push to your Github account!
- Install OSX gcc installer
- Install z into /usr/local/bin
- Install homebrew
- Learn how to navigate with keyboard between OSX Terminal tabs