======
> git clone https://github.com/yeojz/dotfiles.git ~/.dotfiles
# Create a local file.
> touch ~/.dotfiles.local
Source any files in the /config
folder that you want in .dotfiles.local
source ~/.dotfiles/config/npm
source ~/.dotfiles/config/nvm
Add the following to your .zshrc
/ .bashrc
/ .profile
if [ -f ~/.dotfiles.local ]; then
source ~/.dotfiles.local
fi
Note: All scripts assume the dotfiles
repository is stored in ~/.dotfiles
To install git-aliases
:
cat ~/.dotfiles/misc/git-aliases | tee -a ~/.gitconfig
To install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"