Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Create ssh key:
ssh-keygen -t rsa -C "your_email@example.com"
ssh-add ~/.ssh/id_rsa
Copy and paste the public key into github account
pbcopy < ~/.ssh/id_rsa.pub
Now can clone the repo: git clone git@github.com:danielfrg/dotfiles.git
Install: brew bundle
ln -sF $(pwd)/.condarc ~/.condarc
ln -sf $(pwd)/.xonshrc ~/.xonshrc
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
ln -sf $(pwd)/.zshrc ~/.zshrc
rm -rf ~/.oh-my-zsh/custom/plugins
ln -sF $(pwd)/.oh-my-zsh/custom/plugins ~/.oh-my-zsh/custom
ln -sf $(pwd)/.gitconfig ~/.gitconfig
ln -sf $(pwd)/.gitignore_global ~/.gitignore_global
bash .atom/packages.sh
ln -sf $(pwd)/.atom/projects.cson ~/.atom/projects.cson
ln -sf $(pwd)/.atom/config.cson ~/.atom/config.cson
ln -sf $(pwd)/.atom/init.coffee ~/.atom/init.coffee
ln -sf $(pwd)/.atom/keymap.cson ~/.atom/keymap.cson
ln -sf $(pwd)/.atom/styles.less ~/.atom/styles.less
ln -sf $(pwd)/.atom/snippets.cson ~/.atom/snippets.cson
# My packages:
git clone git@github.com:danielfrg/atom-nbviewer.git ~/workspace/atom-nbviewer
pushd ~/workspace/atom-nbviewer
apm install
popd
ln -sF ~/workspace/atom-nbviewer ~/.atom/packages/nbviewer
# ln -sF ~/workspace/dot-files/no-highligh-syntax ~/.atom/packages/no-highligh-syntaxln -sF $(pwd)/.vim ~/.vim
ln -sf $(pwd)/.vimrc ~/.vimrc
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall