Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1007 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 1007 Bytes

Dotfiles

Setup

  • 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
git clone [email protected]:mikeknep/dotfiles.git $HOME/dotfiles
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

Secrets

Files placed in the secrets/ directory are gitignored, but sourced by .zshrc. This is particularly useful for exporting sensitive environment variables.