Personal dotfiles for Linux and macOS. Config files live at paths mirroring their locations in the home directory and are symlinked into place.
setup.sh— sets up everythingsetup-symlinks.sh— creates symlinks (run this after adding a new dotfile)setup-vscode-keybindings.sh— generates platform-specific VS Codekeybindings.jsonfrom templatesetup-zsh-plugins.sh— installs Oh My Zsh plugins
setup-symlinks.sh defines which files get symlinked, in three arrays:
dotfiles_common— same on both platformsdotfiles_linux— only on Linuxdotfiles_macos— only on macOS
To add a new dotfile:
- Create the file in this repo at the same path it has in your home directory (e.g.
.config/foo/configfor~/.config/foo/config) - Add that path to the appropriate array in
setup-symlinks.sh - Run
./setup-symlinks.sh