This repo is aim to unify all my dotfiles
On a fresh Mac (or to repair an existing one — it is safe to re-run):
git clone https://github.com/gregory/dotfiles.git ~/dotfiles && ~/dotfiles/install.sh
(rake install does the same thing.)
install.sh does, in order:
- Xcode Command Line Tools, Homebrew, and everything in
Brewfile(neovim, vim, tmux, fzf, ripgrep, fnm, direnv, gh, git-lfs, tree-sitter-cli, Nerd Font, iTerm2, …) - Symlinks every dotfile into
~(nvim→~/.config/nvim,bin/heat→~/.local/bin/heat). Anything already there is moved to~/.dotfiles-backup/<timestamp>/. - oh-my-zsh, Node LTS via fnm
- vim-plug plugins, Neovim plugins at the
lazy-lock.jsoncommits, every Mason LSP/formatter fromnvim/lua/chadrc.luaand every treesitter parser - iTerm2 key mappings + transparency (skipped while iTerm2 is running —
quit it and run
rake iterm)
Afterwards: gh auth login, :Copilot auth in nvim, and set iTerm2's font to
JetBrainsMono Nerd Font. Machine-specific config goes in ~/.zsh.local and
~/.gitconfig.local (never tracked).