/dotfiles

Misc. dotfiles

Primary LanguageVim Snippet

dotfiles

Set up

You'll want to install the following items first:

OSX

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # install oh-my-zsh
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # install homebrew
$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/ddb/.zprofile
$ eval "$(/opt/homebrew/bin/brew shellenv)"
$ brew update
$ brew install cmake go nodejs mono macvim # YouCompleteMe dependencies
$ ssh-keygen -t ed25519 -C "your_email@example.com"
$ eval "$(ssh-agent -s)"
$ open ~/.ssh/config # check if ~/.ssh/config exists
$ echo "Host *\n  AddKeysToAgent yes\n  IdentityFile ~/.ssh/id_ed25519" >> ~/.ssh/config # run this only if ~/.ssh/config doesn't already exist
$ ssh-add -K ~/.ssh/id_ed25519 

Then add the ssh key to your GitHub account.

You may also want to install the Solarized Dark Higher Contrast iTerm color scheme.

And, finally, pyenv / pyenv-virtualenv:

$ brew install openssl readline sqlite3 xz zlib # pyenv dependencies
$ brew install pyenv pyenv-virtualenv

See these instructions for further details.

For proper linting in python, you can also do:

$ pip3 install pylint

Ubuntu

$ apt install build-essential cmake vim-nox python3-dev mono-complete golang nodejs default-jdk npm
$ ssh-keygen -t ed25519 -C "your_email@example.com"
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_ed25519 

Then add the ssh key to your GitHub account.

Installation

Clone the repo into the home directory using

$ git clone https://github.com/ddbourgin/dotfiles.git ~/.dotfiles && cd ~/.dotfiles

and then

$ ./install minimal_install