- Create new ssh key and add to GitHub
ssh-keygen -t ed25519 -C "<description>"
Be sure to create a ~/.ssh/config
file if you use a non-standard key name (e.g. "github")
Host github.com
Hostname github.com
IdentityFile ~/.ssh/github
-
Install Homebrew
-
Clone dotfiles
git clone [email protected]:mikeknep/dotfiles.git $HOME/dotfiles
- Install vim-plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- Install brew deps
brew bundle --no-lock --cleanup --file $HOME/dotfiles/Brewfile
- Symlink dotfiles
$HOME/dotfiles/bin/symlink-all.sh
Files placed in the secrets/
directory are gitignored, but sourced by .zshrc
.
This is particularly useful for exporting sensitive environment variables.